CVE-2023-53500
Description
A flaw was found in the Linux kernel's IPsec (XFRM) subsystem. A local attacker with network administration privileges can cause a Denial of Service (DoS) through a use-after-free memory error during IPv6 packet transmission. This flaw occurs when an XFRM interface is configured with a Stochastic Fair Blue (SFB) packet scheduling discipline, which modifies packet control data prior to transmission. Successful exploitation leads to a kernel crash.
Statement
The vulnerability is a use-after-free in xfrmi_xmit() caused by calling xfrm_decode_session() before clearing the skb control buffer. It can be triggered only in non-default configurations where an xfrm interface is combined with an SFB qdisc, which can overwrite the skb->cb field during queuing. For the CVSS the Privilege Required is High, as only privileged users (with CAP_NET_ADMIN) can set up such configuration.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 4.1 | 7.8 | 7.3 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | High | Low | Low |
| Privileges Required | High | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | High | High |
| Integrity Impact | None | High | Low |
| Availability Impact | High | High | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Understanding the Weakness (CWE)
Other
Technical Impact: Varies by Context
When code does not follow the instructions for resource management, it can lead to unexpected behaviors and potentially exploitable states.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.