CVE-2015-7519: Passenger Phusion Passenger Allows Remote Attackers Vulnerability
LOWCVE-2015-7519 is a LOW (CVSS 3.7) phusion passenger allows remote attackers vulnerability (CWE-20: Improper Input Validation) affecting Passenger libraries in the RubyGems ecosystem. The issue involves phusion passenger allows remote attackers to spoof headers. Remediation is available by upgrading affected packages to version 4.0.60, 5.0.22.
CVE-2015-7519 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2015-7519
To remediate this vulnerability, upgrade all affected Passenger 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 passenger to 4.0.60
Upgrade passenger to 5.0.22
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for passenger
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-7519, inspect your project dependencies for Passenger:
inspect dependencies for passenger
Analyze the terminal output to locate any version of Passenger in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.60), 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 Passenger, 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-2015-7519 Affected Passenger Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
passenger
|
RubyGems |
< 4.0.60
|
4.0.60
|
|
passenger
|
RubyGems |
≥ 5.0.0
< 5.0.22
|
5.0.22
|
References
Frequently Asked Questions
What is CVE-2015-7519?
Which Passenger versions are affected?
What version fixes CVE-2015-7519?
Is passenger affected?
What is the CVSS score of CVE-2015-7519?
What CWE is associated with CVE-2015-7519?
How can I check RubyGems dependencies for CVE-2015-7519?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fxwv-953p-7qpf",
"modified" : "2023-07-05T18:39:02Z",
"published" : "2018-10-10T17:29:13Z",
"aliases" : [ "CVE-2015-7519" ],
"summary" : "Phusion Passenger allows remote attackers to spoof headers",
"details" : "`agent/Core/Controller/SendRequest.cpp` in Phusion Passenger before 4.0.60 and 5.0.x before 5.0.22, when used in Apache integration mode or in standalone mode without a filtering proxy, allows remote attackers to spoof headers passed to applications by using an `_` (underscore) character instead of a `-` (dash) character in an HTTP header, as demonstrated by an `X_User` header.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "passenger"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.60"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "passenger"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.22"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-7519"
}, {
"type" : "WEB",
"url" : "https://github.com/phusion/passenger/commit/ddb8ecc4ebf260e4967f57f271d4f5761abeac3e"
}, {
"type" : "WEB",
"url" : "https://blog.phusion.nl/2015/12/07/cve-2015-7519"
}, {
"type" : "WEB",
"url" : "https://bugzilla.suse.com/show_bug.cgi?id=956281"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-fxwv-953p-7qpf"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/phusion/passenger"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2015-7519.yml"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/06/msg00007.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20220327073056/https://www.puppet.com/security/cve/passenger-dec-2015-security-fixes"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00024.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/12/07/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/12/07/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:35:50Z",
"nvd_published_at" : null
}
}