BIG-IP: Improper Resource Shutdown or Release
CVE-2022-35240 is a high-severity improper resource shutdown or release vulnerability in BIG-IP from F5, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 14.1.5, 15.1.6.1, 16.1.2.2 as the first without the flaw, so updating BIG-IP to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.78% chance of exploitation within 30 days, higher than 57% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update BIG-IP to 14.1.5 or 15.1.6.1 or 16.1.2.2, whichever matches your release line, or a later version.
- Update Big-ip Access Policy Manager to 14.1.5 or 15.1.6.1 or 16.1.2.2, whichever matches your release line, or a later version.
- Update Big-ip Advanced Firewall Manager to 14.1.5 or 15.1.6.1 or 16.1.2.2, whichever matches your release line, or a later version.
- Read the advisory on support.f5.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| F5 | BIG-IP | 14.1.x up to, but not including, 14.1.5; 15.1.x up to, but not including, 15.1.6.1; 16.1.x up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Access Policy Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Advanced Firewall Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Analytics | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Application Acceleration Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Application Security Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Domain Name System | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Fraud Protection Service | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Global Traffic Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Link Controller | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Local Traffic Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
| F5 | Big-ip Policy Enforcement Manager | 14.1.0 up to, but not including, 14.1.5; 15.1.0 up to, but not including, 15.1.6.1; 16.1.0 up to, but not including, 16.1.2.2 | 14.1.5, 15.1.6.1, 16.1.2.2 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CNA (f5.com) |
| CVSS 3.1 | 7.5 | High | NVD |
Official description
In BIG-IP Versions 16.1.x before 16.1.2.2, 15.1.x before 15.1.6.1, and 14.1.x before 14.1.5, when the Message Routing (MR) Message Queuing Telemetry Transport (MQTT) profile is configured on a virtual server, undisclosed requests can cause an increase in memory resource utilization. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Resource Shutdown or Release
The product does not release or incorrectly releases a resource before it is made available for re-use.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
- It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
- Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].
More Improper Resource Shutdown or Release vulnerabilities (CWE-404)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other vulnerabilities in BIG-IP
- 9.8 Critical severity
F5 BIG-IP APM Heap-based Buffer Overflow Exploited
- 8.8 High severity
- 7.5 High severity
- 8.7 High severity
- 8.7 High severity
- 7.5 High severity
Recent Improper Resource Shutdown or Release vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 8.6 High severity
- 7.5 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.