CVE-2024-21530

Oct. 2, 2024, 5:15 a.m.

Received
CVE has been recently published to the CVE List and has been received by the NVD.

Products

cocoon

  • before 0.4.0

Source

report@snyk.io

Tags

CVE-2024-21530 details

Published : Oct. 2, 2024, 5:15 a.m.
Last Modified : Oct. 2, 2024, 5:15 a.m.

Description

Versions of the package cocoon before 0.4.0 are vulnerable to Reusing a Nonce, Key Pair in Encryption when the encrypt, wrap, and dump functions are sequentially called. An attacker can generate the same ciphertext by creating a new encrypted message with the same cocoon object. **Note:** The issue does NOT affect objects created with Cocoon::new which utilizes ThreadRng.

CVSS Score

1 2 3 4.5 5 6 7 8 9 10

Weakness

Weakness Name Description
CWE-323 Reusing a Nonce, Key Pair in Encryption Nonces should be used for the present occasion and only once.

CVSS Data

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

Base Score

4.5

Exploitability Score

1.4

Impact Score

2.7

Base Severity

MEDIUM

This website uses the NVD API, but is not approved or certified by it.