Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2024-21530

Summary
Assigner-snyk
Assigner Org ID-bae035ff-b466-4ff4-94d0-fc9efd9e1730
Published At-02 Oct, 2024 | 05:00
Updated At-02 Oct, 2024 | 13:42
Rejected At-
Credits

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:snyk
Assigner Org ID:bae035ff-b466-4ff4-94d0-fc9efd9e1730
Published At:02 Oct, 2024 | 05:00
Updated At:02 Oct, 2024 | 13:42
Rejected At:
▼CVE Numbering Authority (CNA)

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.

Affected Products
Vendor
n/a
Product
cocoon
Versions
Affected
  • From 0 before 0.4.0 (semver)
Problem Types
TypeCWE IDDescription
N/AN/AReusing a Nonce, Key Pair in Encryption
Type: N/A
CWE ID: N/A
Description: Reusing a Nonce, Key Pair in Encryption
Metrics
VersionBase scoreBase severityVector
3.14.5MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P
Version: 3.1
Base score: 4.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:P
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Kyle Petryszak
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://security.snyk.io/vuln/SNYK-RUST-COCOON-6028364
N/A
https://github.com/fadeevab/cocoon/issues/22
N/A
https://github.com/fadeevab/cocoon/commit/1b6392173ce35db4736a94b62b2d2973f9a71441
N/A
https://rustsec.org/advisories/RUSTSEC-2023-0068.html
N/A
https://github.com/advisories/GHSA-6878-6wc2-pf5h
N/A
Hyperlink: https://security.snyk.io/vuln/SNYK-RUST-COCOON-6028364
Resource: N/A
Hyperlink: https://github.com/fadeevab/cocoon/issues/22
Resource: N/A
Hyperlink: https://github.com/fadeevab/cocoon/commit/1b6392173ce35db4736a94b62b2d2973f9a71441
Resource: N/A
Hyperlink: https://rustsec.org/advisories/RUSTSEC-2023-0068.html
Resource: N/A
Hyperlink: https://github.com/advisories/GHSA-6878-6wc2-pf5h
Resource: N/A
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Vendor
cocoon
Product
cocoon
CPEs
  • cpe:2.3:a:cocoon:cocoon:*:*:*:*:*:*:*:*
Default Status
unknown
Versions
Affected
  • From 0 before 0.4.0 (custom)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:report@snyk.io
Published At:02 Oct, 2024 | 05:15
Updated At:04 Oct, 2024 | 13:50

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.14.5MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 4.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
CPE Matches

Weaknesses
CWE IDTypeSource
CWE-323Secondaryreport@snyk.io
CWE ID: CWE-323
Type: Secondary
Source: report@snyk.io
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/advisories/GHSA-6878-6wc2-pf5hreport@snyk.io
N/A
https://github.com/fadeevab/cocoon/commit/1b6392173ce35db4736a94b62b2d2973f9a71441report@snyk.io
N/A
https://github.com/fadeevab/cocoon/issues/22report@snyk.io
N/A
https://rustsec.org/advisories/RUSTSEC-2023-0068.htmlreport@snyk.io
N/A
https://security.snyk.io/vuln/SNYK-RUST-COCOON-6028364report@snyk.io
N/A
Hyperlink: https://github.com/advisories/GHSA-6878-6wc2-pf5h
Source: report@snyk.io
Resource: N/A
Hyperlink: https://github.com/fadeevab/cocoon/commit/1b6392173ce35db4736a94b62b2d2973f9a71441
Source: report@snyk.io
Resource: N/A
Hyperlink: https://github.com/fadeevab/cocoon/issues/22
Source: report@snyk.io
Resource: N/A
Hyperlink: https://rustsec.org/advisories/RUSTSEC-2023-0068.html
Source: report@snyk.io
Resource: N/A
Hyperlink: https://security.snyk.io/vuln/SNYK-RUST-COCOON-6028364
Source: report@snyk.io
Resource: N/A

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found