FreeBSD up to 12.4-RELEASE-p6/13.2-RELEASE-p4 libc __sflush out-of-bounds write
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.5 | $0-$5k | 0.00 |
A vulnerability classified as critical was found in FreeBSD up to 12.4-RELEASE-p6/13.2-RELEASE-p4 (Operating System). Affected by this vulnerability is the function __sflush
of the component libc. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. The CWE definition for the vulnerability is CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the __sflush() stdio function in libc does not correctly update FILE objects' write space members for write-buffered streams when the write(2) system call returns an error. Depending on the nature of an application that calls libc's stdio functions and the presence of errors returned from the write(2) system call (or an overridden stdio write routine) a heap buffer overflow may occur. Such overflows may lead to data corruption or the execution of arbitrary code at the privilege level of the calling program.
The weakness was published 11/08/2023 by Inooo. The advisory is shared at security.freebsd.org. This vulnerability is known as CVE-2023-5941 since 11/02/2023. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 12/05/2023).
Upgrading to version 12.4-RELEASE-p7 or 13.2-RELEASE-p5 eliminates this vulnerability.
Similar entries are available at VDB-87472, VDB-87511, VDB-88996 and VDB-108407.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔒VulDB CVSS-BT Score: 🔒
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.5
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔒
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: FreeBSD 12.4-RELEASE-p7/13.2-RELEASE-p5
Timeline
11/02/2023 CVE reserved11/08/2023 Advisory disclosed
11/08/2023 VulDB entry created
12/05/2023 VulDB entry last update
Sources
Product: freebsd.orgAdvisory: security.freebsd.org
Researcher: Inooo
Status: Confirmed
CVE: CVE-2023-5941 (🔒)
See also: 🔒
Entry
Created: 11/08/2023 10:24Updated: 12/05/2023 08:52
Changes: 11/08/2023 10:24 (42), 12/05/2023 08:52 (11)
Complete: 🔍
Cache ID: 3:CCD:103
No comments yet. Languages: en.
Please log in to comment.