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 |
Summary
A vulnerability has been found in FreeBSD up to 12.4-RELEASE-p6/13.2-RELEASE-p4 and classified as critical. This issue affects the function __sflush of the component libc. This manipulation causes out-of-bounds write.
This vulnerability is registered as CVE-2023-5941. No exploit is available.
The affected component should be upgraded.
Details
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.
Upgrading to version 12.4-RELEASE-p7 or 13.2-RELEASE-p5 eliminates this vulnerability.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
Website
- Product: https://www.freebsd.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.6
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: 🔍
Physical: No
Local: No
Remote: Yes
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 🔍11/08/2023 🔍
11/08/2023 🔍
12/05/2023 🔍
Sources
Product: freebsd.orgAdvisory: security.freebsd.org
Researcher: Inooo
Status: Confirmed
CVE: CVE-2023-5941 (🔍)
GCVE (CVE): GCVE-0-2023-5941
GCVE (VulDB): GCVE-100-244765
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: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.