CVE-2020-36474: Vanilla/safecurl SafeCurl Before 0.9.2 Has A Vulnerability
CRITICALCVE-2020-36474 is a CRITICAL (CVSS 9.8) safecurl before 0.9.2 has a vulnerability (General Security Weakness) affecting Vanilla/safecurl libraries in the Packagist ecosystem. The issue involves safecurl before 0.9.2 has a dns rebinding vulnerability.. Remediation is available by upgrading affected packages to version 0.9.2.
CVE-2020-36474 at a Glance
Security Impact
CVSS: 9.8
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:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2020-36474
To remediate this vulnerability, upgrade all affected Vanilla/safecurl 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 vanilla/safecurl to 0.9.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vanilla/safecurl
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-36474, inspect your project dependencies for Vanilla/safecurl:
inspect dependencies for vanilla/safecurl
Analyze the terminal output to locate any version of Vanilla/safecurl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.2), 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 General Security Weakness. In Vanilla/safecurl, 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-2020-36474 Affected Vanilla/safecurl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vanilla/safecurl
|
Packagist |
< 0.9.2
|
0.9.2
|
References
Frequently Asked Questions
What is CVE-2020-36474?
Which Vanilla/safecurl versions are affected?
What version fixes CVE-2020-36474?
Is vanilla/safecurl affected?
What is the CVSS score of CVE-2020-36474?
What CWE is associated with CVE-2020-36474?
How can I check Packagist dependencies for CVE-2020-36474?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x2xg-6wcj-6xf9",
"modified" : "2021-08-24T20:08:25Z",
"published" : "2021-08-25T14:49:48Z",
"aliases" : [ "CVE-2020-36474" ],
"summary" : "SafeCurl before 0.9.2 has a DNS rebinding vulnerability.",
"details" : "SafeCurl before 0.9.2 has a DNS rebinding vulnerability.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "vanilla/safecurl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36474"
}, {
"type" : "WEB",
"url" : "https://github.com/vanilla/safecurl/pull/2"
}, {
"type" : "WEB",
"url" : "https://github.com/vanilla/safecurl"
}, {
"type" : "WEB",
"url" : "https://github.com/vanilla/safecurl/releases/tag/v0.9.2"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-08-24T20:08:25Z",
"nvd_published_at" : "2021-08-20T15:15:00Z"
}
}