GHSA-87mp-xc4x-x8rh: Asymmetricrypt/asymmetricrypt Asymmetricrypt/asymmetricrypt Padding Oracle Vulnerability Vulnerability
MODERATEGHSA-87mp-xc4x-x8rh is a MODERATE asymmetricrypt/asymmetricrypt padding oracle vulnerability vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Asymmetricrypt/asymmetricrypt libraries in the Packagist ecosystem. The issue involves asymmetricrypt/asymmetricrypt padding oracle vulnerability in rsa encryption. Remediation is available in the latest vendor maintenance releases.
GHSA-87mp-xc4x-x8rh at a Glance
How to Fix GHSA-87mp-xc4x-x8rh
To remediate this vulnerability, upgrade all affected Asymmetricrypt/asymmetricrypt 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 asymmetricrypt/asymmetricrypt 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 asymmetricrypt/asymmetricrypt
How to Check if You Are Affected
To determine whether your application is affected by GHSA-87mp-xc4x-x8rh, inspect your project dependencies for Asymmetricrypt/asymmetricrypt:
inspect dependencies for asymmetricrypt/asymmetricrypt
Analyze the terminal output to locate any version of Asymmetricrypt/asymmetricrypt 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-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Asymmetricrypt/asymmetricrypt, 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
GHSA-87mp-xc4x-x8rh Affected Asymmetricrypt/asymmetricrypt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
asymmetricrypt/asymmetricrypt
|
Packagist |
≤ 0.3.0
|
|
References
Frequently Asked Questions
What is GHSA-87mp-xc4x-x8rh?
Which Asymmetricrypt/asymmetricrypt versions are affected?
What version fixes GHSA-87mp-xc4x-x8rh?
Is asymmetricrypt/asymmetricrypt affected?
What CWE is associated with GHSA-87mp-xc4x-x8rh?
How can I check Packagist dependencies for GHSA-87mp-xc4x-x8rh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-87mp-xc4x-x8rh",
"modified" : "2024-05-15T17:47:31Z",
"published" : "2024-05-15T17:47:31Z",
"aliases" : [ ],
"summary" : "asymmetricrypt/asymmetricrypt Padding Oracle Vulnerability in RSA Encryption",
"details" : "The encryption and decryption process were vulnerable against the Bleichenbacher's attack, which is a padding oracle vulnerability disclosed in the 98'.\nThe issue was about the wrong padding utilized, which allowed to retrieve the encrypted content.\nThe OPENSSL_PKCS1_PADDING version, aka PKCS v1.5 was vulnerable (is the one set by default when using openssl_* methods), while the PKCS v2.0 isn't anymore (it's also called OAEP).\n\nA fix for this vulnerability was merged at https://github.com/Cosmicist/AsymmetriCrypt/pull/5/commits/a0318cfc5022f2a7715322dba3ff91d475ace7c6.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "asymmetricrypt/asymmetricrypt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Cosmicist/AsymmetriCrypt/issues/4"
}, {
"type" : "WEB",
"url" : "https://github.com/Cosmicist/AsymmetriCrypt/pull/5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Cosmicist/AsymmetriCrypt"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/asymmetricrypt/asymmetricrypt/2017-11-20.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-327" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-15T17:47:31Z",
"nvd_published_at" : null
}
}