ghsa-x5mq-jjr3-vmx6
Vulnerability from github
Published
2025-01-21 21:13
Modified
2025-01-21 21:13
Severity ?
VLAI Severity ?
Summary
Missing validation of header name and value in codeigniter4/framework
Details
Impact
Lack of proper header validation for its name and value. The potential attacker can construct deliberately malformed headers with Header
class. This could disrupt application functionality, potentially causing errors or generating invalid HTTP requests. In some cases, these malformed requests might lead to a DoS scenario if a remote service’s web application firewall interprets them as malicious and blocks further communication with the application.
Patches
Upgrade to v4.5.8 or later.
Workarounds
Validate HTTP header keys and/or values if using user-supplied values before passing them to Header
class.
Differences from CVE-2023-29197
-
Affected Software:
- CVE-2023-29197 specifically addresses a vulnerability in the
guzzlehttp/psr7
library. - The reported issue in this Security Advisory is within the CodeIgniter4 framework and does not depend on or use the
guzzlehttp/psr7
library.
- CVE-2023-29197 specifically addresses a vulnerability in the
-
Root Cause and Implementation:
- The vulnerability reported arises from an issue in the Header class of CodeIgniter4, which is unrelated to the functionality or implementation of
guzzlehttp/psr7
.
- The vulnerability reported arises from an issue in the Header class of CodeIgniter4, which is unrelated to the functionality or implementation of
-
Scope of Impact:
- The vulnerability described in this Security Advisory affects applications built with the CodeIgniter4 framework, which does not use or rely on the
guzzlehttp/psr7
library.
- The vulnerability described in this Security Advisory affects applications built with the CodeIgniter4 framework, which does not use or rely on the
References
- https://datatracker.ietf.org/doc/html/rfc7230#section-3.2
- https://github.com/advisories/GHSA-wxmh-65f7-jcvw
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "codeigniter4/framework" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.5.8" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-24013" ], "database_specific": { "cwe_ids": [ "CWE-436" ], "github_reviewed": true, "github_reviewed_at": "2025-01-21T21:13:40Z", "nvd_published_at": "2025-01-20T16:15:28Z", "severity": "MODERATE" }, "details": "### Impact\nLack of proper header validation for its name and value. The potential attacker can construct deliberately malformed headers with `Header` class. This could disrupt application functionality, potentially causing errors or generating invalid HTTP requests. In some cases, these malformed requests might lead to a DoS scenario if a remote service\u2019s web application firewall interprets them as malicious and blocks further communication with the application.\n\n### Patches\nUpgrade to v4.5.8 or later.\n\n### Workarounds\nValidate HTTP header keys and/or values if using user-supplied values before passing them to `Header` class.\n\n### Differences from CVE-2023-29197\n\n1. **Affected Software**:\n * CVE-2023-29197 specifically addresses a vulnerability in the `guzzlehttp/psr7` library.\n * The reported issue in this Security Advisory is within the **CodeIgniter4** framework and does not depend on or use the `guzzlehttp/psr7` library.\n\n2. **Root Cause and Implementation**:\n * The vulnerability reported arises from an issue in the **Header class** of CodeIgniter4, which is unrelated to the functionality or implementation of `guzzlehttp/psr7`.\n\n3. **Scope of Impact**:\n * The vulnerability described in this Security Advisory affects applications built with the **CodeIgniter4** framework, which does not use or rely on the `guzzlehttp/psr7` library.\n\n### References\n* https://datatracker.ietf.org/doc/html/rfc7230#section-3.2\n* https://github.com/advisories/GHSA-wxmh-65f7-jcvw", "id": "GHSA-x5mq-jjr3-vmx6", "modified": "2025-01-21T21:13:41Z", "published": "2025-01-21T21:13:40Z", "references": [ { "type": "WEB", "url": "https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-x5mq-jjr3-vmx6" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24013" }, { "type": "WEB", "url": "https://github.com/codeigniter4/CodeIgniter4/commit/5f8aa24280fb09947897d6b322bf1f0e038b13b6" }, { "type": "WEB", "url": "https://datatracker.ietf.org/doc/html/rfc7230#section-3.2" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-wxmh-65f7-jcvw" }, { "type": "PACKAGE", "url": "https://github.com/codeigniter4/CodeIgniter4" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Missing validation of header name and value in codeigniter4/framework" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…