CVE-2023-31130
Memory Safety in Fedoraproject Fedora 37 … 38
Raw vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HSummary
CVE-2023-31130 is a medium-severity Buffer Underflow (CWE-124) vulnerability in Fedoraproject Fedora. Its CVSS base score is 4.1 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 32th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-35454
Vulnerability Data
c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator…
more
to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.4.1
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly prevent introduction of buffer underwrite flaws via coding standards, reviews, and testing.
Vulnerability identification processes can discover buffer underwrite issues but do not prevent their creation.
Patching removes instances of the weakness after discovery but does not address root-cause prevention in code.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing in development catches buffer-underflow defects before release.
Secure SDLC mandates input validation and bounds checking that directly prevent buffer underflow.
Application security requirements can specify buffer-size and pointer-safety rules.
Secure architecture and engineering principles require safe memory-handling patterns.
Secure coding standards explicitly forbid unsafe pointer arithmetic and mandate bounds checks.
Change management can enforce review gates that catch unsafe memory operations before deployment.