FreeBSD 12.3/12.4/13.0/13.1 Ping pr_pack stack-based overflow
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.8 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in FreeBSD 12.3/12.4/13.0/13.1. Affected is the function pr_pack
of the component Ping. The manipulation leads to stack-based overflow.
This vulnerability is traded as CVE-2022-23093. It is possible to launch the attack remotely. There is no exploit available.
It is recommended to apply a patch to fix this issue.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Details
A vulnerability was found in FreeBSD 12.3/12.4/13.0/13.1 (Operating System). It has been rated as critical. This issue affects the function pr_pack
of the component Ping. The manipulation with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is confidentiality, integrity, and availability. The summary by CVE is:
ping reads raw IP packets from the network to process responses in the pr_pack() function. As part of processing a response ping has to reconstruct the IP header, the ICMP header and if present a "quoted packet," which represents the packet that generated an ICMP error. The quoted packet again has an IP header and an ICMP header. The pr_pack() copies received IP and ICMP headers into stack buffers for further processing. In so doing, it fails to take into account the possible presence of IP option headers following the IP header in either the response or the quoted packet. When IP options are present, pr_pack() overflows the destination buffer by up to 40 bytes. The memory safety bugs described above can be triggered by a remote host, causing the ping program to crash. The ping process runs in a capability mode sandbox on all affected versions of FreeBSD and is thus very constrained in how it can interact with the rest of the system at the point where the bug can occur.
The weakness was presented 12/01/2022. The advisory is shared at freebsd.org. The identification of this vulnerability is CVE-2022-23093. 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 10/28/2024).
Applying a patch is able to eliminate this problem. The bugfix is ready for download at security.FreeBSD.org.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.9VulDB Meta Temp Score: 6.8
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 6.5
CNA 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: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
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: PatchStatus: 🔍
0-Day Time: 🔍
Patch: security.FreeBSD.org
Timeline
01/10/2022 🔍12/01/2022 🔍
12/01/2022 🔍
10/28/2024 🔍
Sources
Product: freebsd.orgAdvisory: freebsd.org
Status: Confirmed
CVE: CVE-2022-23093 (🔍)
GCVE (CVE): GCVE-0-2022-23093
GCVE (VulDB): GCVE-100-214613
Entry
Created: 12/01/2022 07:33Updated: 10/28/2024 20:51
Changes: 12/01/2022 07:33 (39), 12/24/2022 23:08 (1), 10/28/2024 20:51 (28)
Complete: 🔍
Cache ID: 216:3C9:103
No comments yet. Languages: en.
Please log in to comment.