CVE-2023-48054: Localstack Missing SSL Certificate Validation Vulnerability
HIGHCVE-2023-48054 is a HIGH (CVSS 7.4) missing ssl certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Localstack libraries in the PyPI ecosystem. The issue involves missing ssl certificate validation in localstack. Remediation is available in the latest vendor maintenance releases.
CVE-2023-48054 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2023-48054
To remediate this vulnerability, upgrade all affected Localstack 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 localstack>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show localstack
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-48054, inspect your installed packages using pip:
pip show localstack
Analyze the terminal output to locate any version of Localstack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show localstack 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 Localstack, 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-2023-48054 Affected Localstack Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
localstack
|
PyPI |
≤ 3.0.0
|
|
References
Frequently Asked Questions
What is CVE-2023-48054?
Which Localstack versions are affected?
What version fixes CVE-2023-48054?
Is localstack affected?
What is the CVSS score of CVE-2023-48054?
What CWE is associated with CVE-2023-48054?
How can I check PyPI dependencies for CVE-2023-48054?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8633-g3ph-97rp",
"modified" : "2026-06-10T18:43:02Z",
"published" : "2023-11-16T18:30:31Z",
"aliases" : [ "CVE-2023-48054" ],
"summary" : "Missing SSL certificate validation in localstack",
"details" : "Missing SSL certificate validation in localstack allows attackers to eavesdrop on communications between the host and server via a man-in-the-middle attack.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "localstack"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-48054"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/localstack/localstack"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/localstack/PYSEC-2023-243.yaml"
}, {
"type" : "WEB",
"url" : "https://gxx777.github.io/localstack_v_2.3.2_Cryptographic_API_Misuse_Vulnerability.md"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-22T20:55:28Z",
"nvd_published_at" : "2023-11-16T18:15:07Z"
}
}