CVE-2013-7463: Aescrypt Aescrypt Does Not Sufficiently Use Vulnerability

HIGH
Advisory Identifier: GHSA-4c4w-3q45-hp9j
CVSS 7.5
CWE-330
Published
Advisory Summary

CVE-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.

CVE-2013-7463 at a Glance

CVE Identifier CVE-2013-7463
GHSA Identifier GHSA-4c4w-3q45-hp9j
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-330: Use of Insufficiently Random Values
Affected Product Aescrypt
Package Ecosystem RubyGems
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

aescrypt fixed: Latest secure release
Upgrade aescrypt to Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2013-7463 is a security vulnerability in Aescrypt involving Aescrypt does not sufficiently use random values under CWE-330: Use of Insufficiently Random Values.
Which Aescrypt versions are affected?
Affected versions include releases prior to current release patches across affected packages: aescrypt.
What version fixes CVE-2013-7463?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is aescrypt affected?
Yes, aescrypt is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2013-7463?
CVE-2013-7463 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2013-7463?
CVE-2013-7463 is classified under CWE-330: Use of Insufficiently Random Values (The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.).
How can I check RubyGems dependencies for CVE-2013-7463?
Run the dependency tree command: 'inspect dependencies for aescrypt'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}