Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/pyca/cryptography: CVE-2024-26130 #2573

Open
GoVulnBot opened this issue Feb 21, 2024 · 0 comments
Assignees

Comments

@GoVulnBot
Copy link

CVE-2024-26130 references github.com/pyca/cryptography, which may be a Go module.

Description:
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Starting in version 38.0.0 and prior to version 42.0.4, if pkcs12.serialize_key_and_certificates is called with both a certificate whose public key did not match the provided private key and an encryption_algorithm with hmac_hash set (via PrivateFormat.PKCS12.encryption_builder().hmac_hash(...), then a NULL pointer dereference would occur, crashing the Python process. This has been resolved in version 42.0.4, the first version in which a ValueError is properly raised.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/pyca/cryptography
      vulnerable_at: 0.0.0-20240221150336-b997a63f6a4a
      packages:
        - package: cryptography
cves:
    - CVE-2024-26130
references:
    - advisory: https://github.com/pyca/cryptography/security/advisories/GHSA-6vqw-3v5j-54x4
    - fix: https://github.com/pyca/cryptography/pull/10423
    - fix: https://github.com/pyca/cryptography/commit/97d231672763cdb5959a3b191e692a362f1b9e55

@tatianab tatianab added the excluded: NOT_GO_CODE This vulnerability does not refer to a Go module. label Apr 29, 2024
@tatianab tatianab added possibly not Go and removed excluded: NOT_GO_CODE This vulnerability does not refer to a Go module. labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants