CVE-2017-1000247: Codeigniter4/framework CodeIgniter HTTP Header Injection Vulnerability
HIGHCVE-2017-1000247 is a HIGH (CVSS 7.5) codeigniter http header injection vulnerability (CWE-20: Improper Input Validation) affecting Codeigniter4/framework libraries in the Packagist ecosystem. The issue involves codeigniter http header injection. Remediation is available by upgrading affected packages to version 3.1.4.
CVE-2017-1000247 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2017-1000247
To remediate this vulnerability, upgrade all affected Codeigniter4/framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade codeigniter4/framework to 3.1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for codeigniter4/framework
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-1000247, inspect your project dependencies for Codeigniter4/framework:
inspect dependencies for codeigniter4/framework
Analyze the terminal output to locate any version of Codeigniter4/framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Codeigniter4/framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-1000247 Affected Codeigniter4/framework Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
codeigniter4/framework
|
Packagist |
≥ 3.1.3
< 3.1.4
All 1 versions
3.1.3
|
3.1.4
|
References
Frequently Asked Questions
What is CVE-2017-1000247?
Which Codeigniter4/framework versions are affected?
What version fixes CVE-2017-1000247?
Is codeigniter4/framework affected?
What is the CVSS score of CVE-2017-1000247?
What CWE is associated with CVE-2017-1000247?
How can I check Packagist dependencies for CVE-2017-1000247?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j9f9-8j39-4g97",
"modified" : "2024-04-24T17:59:16Z",
"published" : "2022-05-17T00:18:34Z",
"aliases" : [ "CVE-2017-1000247" ],
"summary" : "CodeIgniter HTTP Header Injection",
"details" : "British Columbia Institute of Technology CodeIgniter 3.1.3 is vulnerable to HTTP Header Injection in the set_status_header() common function under Apache resulting in HTTP Header Injection flaws.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "codeigniter4/framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.3"
}, {
"fixed" : "3.1.4"
} ]
} ],
"versions" : [ "3.1.3" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000247"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/codeigniter4/framework"
}, {
"type" : "WEB",
"url" : "https://www.codeigniter.com/userguide3/changelog.html#version-3-1-4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T17:59:16Z",
"nvd_published_at" : "2017-11-17T04:29:00Z"
}
}