Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 7.2 score reflects high severity with critical impact potential (Confidentiality, Integrity, and Availability all rated High), but the risk is significantly constrained by the requirement for prior authentication (PR:H in the vector). The attack vector is Network (AV:N) with Low complexity (AC:L), meaning exploitation is straightforward once the attacker is authenticated. The real-world risk assessment reveals a moderate-to-high concern: while the vulnerability requires authentication, the nature of stack-based buffer overflows suggests potential for arbitrary code execution. However, without confirmed KEV status, active exploitation data, public POC availability, or EPSS probability metrics, this appears to be a post-disclosure vulnerability requiring proactive patching rather than an emergency zero-day. The authentication requirement significantly reduces the attack surface compared to unauthenticated RCEs, making this a priority for internal/trusted network environments and environments where attackers may have legitimate accounts, but not an immediate critical threat in purely external-facing scenarios. Stack-based buffer overflows remain highly reliable for exploitation when fully understood, suggesting EPSS would likely be elevated if calculated. |
| Exploit ScenarioDerived | An authenticated attacker with valid credentials to a CUPS print server or similar affected service crafts a malicious HTTP request directed at the web interface (port 80 or 443) or IPP service (port 631). The request includes: (1) an empty Origin header to potentially bypass origin validation checks, and (2) a Referer header with a deliberately malformed URL where the host portion (domain name) is set to a string exceeding 64 bytes (e.g., 'http://[65+ character hostname]/path'). When the receiving service processes this Referer header to extract and validate the host component, it copies the oversized hostname into a 64-byte stack buffer without bounds checking, causing a stack overflow. This overflow can overwrite adjacent stack memory including function return addresses or stack canaries. The attacker can leverage this to inject and execute arbitrary shellcode, achieving remote code execution on the print server with the privileges of the web service process (often 'lp' user or root in CUPS). Alternatively, the overflow could be leveraged to crash the service, causing denial of service to legitimate printing requests. Exploitation requires: (1) valid authentication credentials, (2) network access to one of the affected ports (80, 443, or 631), and (3) the ability to craft custom HTTP requests. No public POC is confirmed in available data, but the straightforward nature of stack-based buffer overflows makes exploitation probable once the vulnerability is publicly disclosed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2024-51979 is a stack-based buffer overflow vulnerability affecting authenticated users of printing and web services that process malformed HTTP/HTTPS requests with oversized Referer headers. An authenticated attacker with high privileges can exploit this flaw by sending a specially crafted request containing an empty Origin header and a Referer header with a host value exceeding 64 bytes, potentially achieving remote code execution or denial of service. The vulnerability affects services on TCP ports 80 (HTTP), 443 (HTTPS), and 631 (IPP/printing protocol), with a CVSS 7.2 score indicating high severity, though exploitation requires prior authentication.
RemediationAI
Immediate remediation steps: (1) Apply security patches from the affected software vendor (CUPS or equivalent) addressing CVE-2024-51979 - check vendor security advisories for patched versions; (2) Implement network segmentation to restrict access to affected services (ports 80, 443, 631) to authorized users only, limiting the authenticated attacker pool; (3) Disable unnecessary services - if IPP printing or web interface is not required, disable port 631 (IPP) and/or web interface access; (4) Enforce strong authentication controls to prevent unauthorized account access, reducing risk of authenticated attacks; (5) Monitor for suspicious requests containing unusually long Referer headers or empty Origin headers; (6) Apply input validation at the firewall or WAF level to reject oversized HTTP headers if not otherwise mitigated. Temporary mitigations before patching: disable the affected service temporarily if operationally feasible, or restrict network access to these ports via firewall rules. Vendor patches should be applied immediately upon availability as stack-based buffer overflows have high exploitation reliability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 60 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exists in the HTTP request parsing logic of web/printing services (likely CUPS or similar print management software based on port 631 inclusion) where the Referer header's host component undergoes insufficient bounds checking. The CWE-121 (Stack-based Buffer Overflow) classification indicates that user-supplied input from the Referer header is copied into a fixed-size stack buffer without proper length validation. When the host portion of the Referer header exceeds 64 bytes, it overflows the allocated stack buffer. The attack requires manipulation of two specific headers: an empty Origin header (which may disable certain security checks) and a malformed Referer header. The vulnerability is triggered during HTTP header parsing, a critical but often overlooked component of web service implementations, and affects both encrypted (HTTPS/TLS on port 443) and unencrypted (HTTP on port 80) traffic, plus the IPP service commonly used for network printing (port 631).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
An authenticated attacker may trigger a stack based buffer overflow by performing a malformed request to either the HTTP service (TCP port 80), the HTTPS service (TCP port 443), or the IPP service (TCP port 631). The malformed request will contain an empty Origin header value and a malformed Referer header value. The Referer header value will trigger a stack based buffer overflow when the host value in the Referer header is processed and is greater than 64 bytes in length.
Executive ViewAI
A high-severity vulnerability in web services (HTTP, HTTPS, IPP ports) allows authenticated attackers to crash systems or potentially execute code through specially crafted requests. Organizations running affected systems must implement immediate protections, as no vendor patch is currently available and the vulnerability requires only basic HTTP knowledge to exploit.
Implement Web Application Firewall (WAF) rules to reject requests with empty Origin headers and Referer headers exceeding 64 bytes; restrict network access to affected ports via firewall rules limiting connections to trusted internal networks only; disable IPP service (port 631) if not required for operations; enable request logging and monitoring for exploitation attempts; implement rate limiting on affected services to reduce attack surface.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2024-54699
NVD
CVE.org
EPSS
GitHub
Exploit-DB