Vulnerabilities in pkg:pypi/imagecodecs
PACKAGEGHSA-94vc-p8w7-5p49 is a HIGH bundled libwebp vulnerability (General Security Weakness) affecting Imagecodecs libraries in the PyPI ecosystem. The issue involves bundled libwebp in imagecodecs vulnerable. Remediation is available by upgrading affected packages to version 2023.9.18.
pkg:pypi/imagecodecs
Vulnerability advisories affecting package pkg:pypi/imagecodecs. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-94vc-p8w7-5p49 | - | HIGH | Bundled libwebp in imagecodecs vulnerable |
GHSA-94vc-p8w7-5p49 at a Glance
How to Fix GHSA-94vc-p8w7-5p49
To remediate this vulnerability, upgrade all affected Imagecodecs 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 imagecodecs>=2023.9.18
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show imagecodecs
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-94vc-p8w7-5p49, inspect your installed packages using pip:
pip show imagecodecs
Analyze the terminal output to locate any version of Imagecodecs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2023.9.18), your application is affected.
Note: The pip show imagecodecs command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Imagecodecs, 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-94vc-p8w7-5p49 Affected Imagecodecs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
imagecodecs
|
PyPI |
< 2023.9.18
|
2023.9.18
|
References
Frequently Asked Questions
What is GHSA-94vc-p8w7-5p49?
Which Imagecodecs versions are affected?
What version fixes GHSA-94vc-p8w7-5p49?
Is imagecodecs affected?
What CWE is associated with GHSA-94vc-p8w7-5p49?
How can I check PyPI dependencies for GHSA-94vc-p8w7-5p49?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-94vc-p8w7-5p49",
"modified" : "2023-10-05T00:07:46Z",
"published" : "2023-10-05T00:07:46Z",
"aliases" : [ ],
"summary" : "Bundled libwebp in imagecodecs vulnerable",
"details" : "imagecodecs versions before v2023.9.18 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-5129 (previously CVE-2023-4863). imagecodecs v2023.9.18 upgrades the bundled libwebp binary to v1.3.2.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "imagecodecs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2023.9.18"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4863"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-5129"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cgohlke/imagecodecs"
}, {
"type" : "WEB",
"url" : "https://github.com/cgohlke/imagecodecs/blob/v2023.9.18/CHANGES.rst"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/imagecodecs/PYSEC-2023-174.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-05T00:07:46Z",
"nvd_published_at" : null
}
}