Uncontrolled Resource Consumption Affecting cryptography package, versions [0,42.0.8)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-CRYPTOGRAPHY-6913422
- published 19 May 2024
- disclosed 16 May 2024
- credit Unknown
Introduced: 16 May 2024
CVE-2024-4603 Open this link in a new tabHow to fix?
Upgrade cryptography
to version 42.0.8 or higher.
Overview
Affected versions of this package are vulnerable to Uncontrolled Resource Consumption due to improper user input validation in the EVP_PKEY_param_check
or EVP_PKEY_public_check
functions. An attacker can cause a denial of service by supplying excessively long DSA keys or parameters obtained from an untrusted source.
Note:
OpenSSL does not call these functions on untrusted DSA keys, so only applications that directly call these functions may be vulnerable.
Also vulnerable are the OpenSSL pkey
and pkeyparam
command line applications when using the "-check" option.