CVE-2020-24715: Scalyr agent 2 Scalyr Agent 2 Missing SSL Vulnerability
CRITICALCVE-2020-24715 is a CRITICAL (CVSS 9.8) scalyr agent 2 missing ssl vulnerability (CWE-295: Improper Certificate Validation) affecting Scalyr agent 2 libraries in the PyPI ecosystem. The issue involves scalyr agent 2 missing ssl certificate validation. Remediation is available by upgrading affected packages to version 2.1.10.
CVE-2020-24715 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-24715
To remediate this vulnerability, upgrade all affected Scalyr agent 2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install scalyr-agent-2>=2.1.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show scalyr-agent-2
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2020-24715, inspect your installed packages using pip:
pip show scalyr-agent-2
Analyze the terminal output to locate any version of Scalyr agent 2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.10), your application is affected.
Note: The pip show scalyr-agent-2 command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Scalyr agent 2, 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-24715 Affected Scalyr agent 2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
scalyr-agent-2
|
PyPI |
< 2.1.10
|
2.1.10
|
References
Frequently Asked Questions
What is CVE-2020-24715?
Which Scalyr agent 2 versions are affected?
What version fixes CVE-2020-24715?
Is scalyr-agent-2 affected?
What is the CVSS score of CVE-2020-24715?
What CWE is associated with CVE-2020-24715?
How can I check PyPI dependencies for CVE-2020-24715?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-738x-v49g-p6hx",
"modified" : "2024-10-22T17:24:01Z",
"published" : "2022-05-24T17:26:55Z",
"aliases" : [ "CVE-2020-24715" ],
"summary" : "Scalyr Agent 2 Missing SSL Certificate Validation",
"details" : "The Scalyr Agent before 2.1.10 has Missing SSL Certificate Validation because, in some circumstances, native Python code is used that lacks a comparison of the hostname to commonName and subjectAltName.",
"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" : "PyPI",
"name" : "scalyr-agent-2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-24715"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/scalyr-agent-2/PYSEC-2020-252.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/scalyr/scalyr-agent-2"
}, {
"type" : "WEB",
"url" : "https://github.com/scalyr/scalyr-agent-2/blob/v2.1.10/CHANGELOG.md"
}, {
"type" : "WEB",
"url" : "https://scalyr-static.s3.amazonaws.com/technical-details/index.html"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20211209045826/https://scalyr-static.s3.amazonaws.com/technical-details/index.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-13T20:29:13Z",
"nvd_published_at" : "2020-08-27T22:15:00Z"
}
}