6.5

CVE-2022-23093

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.

Verknüpft mit AI von unstrukturierten Daten zu bestehenden CPE der NVD
This information is available to logged-in users.
Data is provided by the National Vulnerability Database (NVD)
FreebsdFreebsd Version12.3 Updatebeta1
FreebsdFreebsd Version12.3 Updatep1
FreebsdFreebsd Version12.3 Updatep2
FreebsdFreebsd Version12.3 Updatep3
FreebsdFreebsd Version12.3 Updatep4
FreebsdFreebsd Version12.3 Updatep5
FreebsdFreebsd Version12.3 Updatep6
FreebsdFreebsd Version12.3 Updatep7
FreebsdFreebsd Version12.3 Updatep8
FreebsdFreebsd Version12.3 Updatep9
FreebsdFreebsd Version12.4 Updaterc2-p1
FreebsdFreebsd Version13.1 Updateb1-p1
FreebsdFreebsd Version13.1 Updateb2-p2
FreebsdFreebsd Version13.1 Updatep1
FreebsdFreebsd Version13.1 Updatep2
FreebsdFreebsd Version13.1 Updatep3
FreebsdFreebsd Version13.1 Updatep4
FreebsdFreebsd Version13.1 Updaterc1-p1
Zu dieser CVE wurde keine CISA KEV oder CERT.AT-Warnung gefunden.
EPSS Metriken
Type Source Score Percentile
EPSS FIRST.org 3.98% 0.88
CVSS Metriken
Source Base Score Exploit Score Impact Score Vector string
134c704f-9b21-4f2e-91b3-4a467353bcc0 6.5 2.8 3.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.