CVE-2017-1000247: CodeIgniter HTTP Header Injection

codeigniter4/framework Updated 02 Oct 2025

Summary

17/05/2022
Yes i
High
7.5

CVE-2017-1000247: CodeIgniter HTTP Header Injection. Affects codeigniter4/framework versions >= 3.1.3, < 3.1.4. Fixed in 3.1.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CodeIgniter is a popular PHP framework used for developing web applications. It provides a set of libraries and tools that simplify the development process. The vulnerability affects CodeIgniter version 3.1.3 and allows for HTTP Header Injection in the set_status_header() function under Apache. This vulnerability can lead to HTTP Header Injection flaws, potentially enabling attackers to manipulate HTTP headers and perform various attacks.

Vulnerability Detail

The vulnerability in CodeIgniter version 3.1.3 arises from a lack of proper input validation in the set_status_header() function. This allows an attacker to inject malicious content into the HTTP headers, leading to potential security issues. An attacker could exploit this vulnerability to perform attacks such as HTTP response splitting, cache poisoning, or cross-site scripting (XSS). The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

How To Fix

Minimum fixed version

3.1.4

This is the first release that contains the fix.

composer require codeigniter4/framework:3.1.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is advised to apply the fix by upgrading to the latest version of CodeIgniter.

Conclusion

CodeIgniter version 3.1.3 is vulnerable to HTTP Header Injection, which can lead to various security issues. It is crucial to upgrade to the latest version of CodeIgniter (3.1.4 or later) to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for codeigniter4/framework →

Share this vulnerability

FAQ

CodeIgniter is a PHP framework used for developing web applications. It provides a set of libraries and tools that simplify the development process.

HTTP Header Injection is a web security vulnerability that allows an attacker to manipulate HTTP headers, potentially leading to various attacks such as HTTP response splitting, cache poisoning, or cross-site scripting (XSS).

An attacker can exploit this vulnerability by injecting malicious content into the HTTP headers, potentially leading to security issues and enabling various attacks.

The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

To fix this vulnerability, it is recommended to upgrade to CodeIgniter version 3.1.4 or later, as it includes a fix for the HTTP Header Injection issue.

Related vulnerabilities

Recent vulnerabilities recorded for codeigniter4/framework.

How To Fix

Minimum fixed version

3.1.4

This is the first release that contains the fix.

composer require codeigniter4/framework:3.1.4

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback