GHSA-x565-32qp-m3vf: Phin Phin May Include Sensitive Headers Vulnerability
MODERATEGHSA-x565-32qp-m3vf is a MODERATE (CVSS 4.3) phin may include sensitive headers vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Phin libraries in the npm ecosystem. The issue involves phin may include sensitive headers in subsequent requests after redirect. Remediation is available by upgrading affected packages to version 3.7.1.
GHSA-x565-32qp-m3vf at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N).
How to Fix GHSA-x565-32qp-m3vf
To remediate this vulnerability, upgrade all affected Phin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install phin@3.7.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls phin
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-x565-32qp-m3vf, inspect your project dependencies using npm:
npm ls phin
Analyze the terminal output to locate any version of Phin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.1), your application is affected.
Note: The npm ls phin command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Phin, 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
GHSA-x565-32qp-m3vf Affected Phin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
phin
|
npm |
< 3.7.1
|
3.7.1
|
References
Frequently Asked Questions
What is GHSA-x565-32qp-m3vf?
Which Phin versions are affected?
What version fixes GHSA-x565-32qp-m3vf?
Is phin affected?
What is the CVSS score of GHSA-x565-32qp-m3vf?
What CWE is associated with GHSA-x565-32qp-m3vf?
How can I check npm dependencies for GHSA-x565-32qp-m3vf?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x565-32qp-m3vf",
"modified" : "2024-04-11T21:30:31Z",
"published" : "2024-04-11T21:30:30Z",
"aliases" : [ ],
"summary" : "phin may include sensitive headers in subsequent requests after redirect",
"details" : "### Impact\n\nUsers may be impacted if sending requests including sensitive data in specific headers with `followRedirects` enabled.\n\n### Patches\n\nThe [follow-redirects](https://github.com/follow-redirects/follow-redirects) library is now being used for redirects and removes some headers that may contain sensitive information in some situations.\n\n### Workarounds\n\nN/A. Please update to resolve the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "phin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ethanent/phin/security/advisories/GHSA-x565-32qp-m3vf"
}, {
"type" : "WEB",
"url" : "https://github.com/ethanent/phin/commit/c071f95336a987dad9332fd388adeb249925cc57"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ethanent/phin"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-11T21:30:30Z",
"nvd_published_at" : null
}
}