GHSA-6h88-qjpv-p32m

Suggest an improvement
Source
https://github.com/advisories/GHSA-6h88-qjpv-p32m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-6h88-qjpv-p32m/GHSA-6h88-qjpv-p32m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6h88-qjpv-p32m
Aliases
Published
2017-10-24T18:33:35Z
Modified
2024-02-16T08:20:58.750802Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
OpenSSL gem for Ruby using inadequate encryption strength
Details

The OpenSSL gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gcm) when the IV is set before the key, which makes it easier for context-dependent attackers to bypass the encryption protection mechanism.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-326"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:19:22Z"
}
References

Affected packages

RubyGems / openssl

Package

Name
openssl
Purl
pkg:gem/openssl

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0

Affected versions

2.*

2.0.0.beta.1
2.0.0.beta.2