GHSA-f9pm-4g9p-6vm3: Webp Bundled Libwebp Vulnerability
HIGHGHSA-f9pm-4g9p-6vm3 is a HIGH (CVSS 8.8) bundled libwebp vulnerability (General Security Weakness) affecting Webp libraries in the PyPI ecosystem. The issue involves bundled libwebp in pywebp vulnerable. Remediation is available by upgrading affected packages to version 0.3.0.
GHSA-f9pm-4g9p-6vm3 at a Glance
Security Impact
CVSS: 8.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:R/S:U/C:H/I:H/A:H).
How to Fix GHSA-f9pm-4g9p-6vm3
To remediate this vulnerability, upgrade all affected Webp 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 webp>=0.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show webp
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-f9pm-4g9p-6vm3, inspect your installed packages using pip:
pip show webp
Analyze the terminal output to locate any version of Webp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.0), your application is affected.
Note: The pip show webp 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 Webp, 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-f9pm-4g9p-6vm3 Affected Webp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
webp
|
PyPI |
< 0.3.0
|
0.3.0
|
References
Frequently Asked Questions
What is GHSA-f9pm-4g9p-6vm3?
Which Webp versions are affected?
What version fixes GHSA-f9pm-4g9p-6vm3?
Is webp affected?
What is the CVSS score of GHSA-f9pm-4g9p-6vm3?
What CWE is associated with GHSA-f9pm-4g9p-6vm3?
How can I check PyPI dependencies for GHSA-f9pm-4g9p-6vm3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f9pm-4g9p-6vm3",
"modified" : "2023-10-06T16:59:22Z",
"published" : "2023-10-06T16:59:22Z",
"aliases" : [ ],
"summary" : "Bundled libwebp in pywebp vulnerable",
"details" : "### Impact\npywebp versions before v0.3.0 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863. The vulnerability was a heap buffer overflow which allowed a remote attacker to perform an out of bounds memory write.\n\n### Patches\nThe problem has been patched upstream in libwebp 1.3.2.\npywebp was updated to bundle a patched version of libwebp in v0.3.0.\n\n### Workarounds\nNo known workarounds without upgrading.\n\n### References\n- https://www.rezilion.com/blog/rezilion-researchers-uncover-new-details-on-severity-of-google-chrome-zero-day-vulnerability-cve-2023-4863/\n- https://nvd.nist.gov/vuln/detail/CVE-2023-4863\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "webp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/anibali/pywebp/security/advisories/GHSA-f9pm-4g9p-6vm3"
}, {
"type" : "WEB",
"url" : "https://github.com/anibali/pywebp/commit/1f938731a158a6584977cec2cce21b21c15f6c4b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anibali/pywebp"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-06T16:59:22Z",
"nvd_published_at" : null
}
}