GHSA-f3q4-ggfp-jv34: Adyen Adyen APIs Library For Python Vulnerability
MODERATEGHSA-f3q4-ggfp-jv34 is a MODERATE (CVSS 5.3) adyen apis library for python vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Adyen libraries in the PyPI ecosystem. The issue involves adyen apis library for python timing attack vulnerability. Remediation is available by upgrading affected packages to version 7.1.0.
GHSA-f3q4-ggfp-jv34 at a Glance
Security Impact
CVSS: 5.3
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:N/I:L/A:N).
How to Fix GHSA-f3q4-ggfp-jv34
To remediate this vulnerability, upgrade all affected Adyen 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 Adyen>=7.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Adyen
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-f3q4-ggfp-jv34, inspect your installed packages using pip:
pip show Adyen
Analyze the terminal output to locate any version of Adyen in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.1.0), your application is affected.
Note: The pip show Adyen command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Adyen, 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-f3q4-ggfp-jv34 Affected Adyen Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Adyen
|
PyPI |
≥ 2.2.0
< 7.1.0
|
7.1.0
|
References
Frequently Asked Questions
What is GHSA-f3q4-ggfp-jv34?
Which Adyen versions are affected?
What version fixes GHSA-f3q4-ggfp-jv34?
Is Adyen affected?
What is the CVSS score of GHSA-f3q4-ggfp-jv34?
What CWE is associated with GHSA-f3q4-ggfp-jv34?
How can I check PyPI dependencies for GHSA-f3q4-ggfp-jv34?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f3q4-ggfp-jv34",
"modified" : "2024-08-30T18:51:58Z",
"published" : "2024-08-30T18:51:58Z",
"aliases" : [ ],
"summary" : "Adyen APIs Library for Python timing attack vulnerability",
"details" : "Adyen has utility methods for validating notification HMAC signatures. The `is_valid_hmac` and `is_valid_hmac_notification` methods are vulnerable to a timing attack, you should compare the hash of the HMACs instead.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Adyen"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "7.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Adyen/adyen-python-api-library/issues/168"
}, {
"type" : "WEB",
"url" : "https://github.com/Adyen/adyen-python-api-library/pull/170"
}, {
"type" : "WEB",
"url" : "https://github.com/Adyen/adyen-python-api-library/commit/3292133dbc00ffc4cccfb92de672a76eaa587ca5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Adyen/adyen-python-api-library"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/adyen/PYSEC-2023-1.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-30T18:51:58Z",
"nvd_published_at" : null
}
}