Vulnerabilities in pkg:gem/aescrypt
PACKAGECVE-2013-7463 is a HIGH (CVSS 7.5) aescrypt does not sufficiently use vulnerability (CWE-330: Use of Insufficiently Random Values) affecting Aescrypt libraries in the RubyGems ecosystem. The issue involves aescrypt does not sufficiently use random values. Remediation is available in the latest vendor maintenance releases.
pkg:gem/aescrypt
Vulnerability advisories affecting package pkg:gem/aescrypt. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4c4w-3q45-hp9j | CVE-2013-7463 | HIGH | Aescrypt does not sufficiently use random values |
CVE-2013-7463 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2013-7463
To remediate this vulnerability, upgrade all affected Aescrypt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade aescrypt to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for aescrypt
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-7463, inspect your project dependencies for Aescrypt:
inspect dependencies for aescrypt
Analyze the terminal output to locate any version of Aescrypt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. In Aescrypt, 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
CVE-2013-7463 Affected Aescrypt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aescrypt
|
RubyGems |
≤ 1.0.0
|
|
References
Frequently Asked Questions
What is CVE-2013-7463?
Which Aescrypt versions are affected?
What version fixes CVE-2013-7463?
Is aescrypt affected?
What is the CVSS score of CVE-2013-7463?
What CWE is associated with CVE-2013-7463?
How can I check RubyGems dependencies for CVE-2013-7463?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4c4w-3q45-hp9j",
"modified" : "2023-01-25T22:56:46Z",
"published" : "2017-10-24T18:33:36Z",
"aliases" : [ "CVE-2013-7463" ],
"summary" : "Aescrypt does not sufficiently use random values",
"details" : "The aescrypt gem 1.0.0 for Ruby does not randomize the CBC IV for use with the AESCrypt.encrypt and AESCrypt.decrypt functions, which allows attackers to defeat cryptographic protection mechanisms via a chosen plaintext attack.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "aescrypt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7463"
}, {
"type" : "WEB",
"url" : "https://github.com/Gurpartap/aescrypt/issues/4"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Gurpartap/aescrypt"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/aescrypt/CVE-2013-7463.yml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227173428/http://www.securityfocus.com/bid/98035"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-330" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:58:06Z",
"nvd_published_at" : null
}
}