Advisory

GHSA-87mp-xc4x-x8rh

Also known as: None

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'.
The issue was about the wrong padding utilized, which allowed to retrieve the encrypted content.
The 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).

A fix for this vulnerability was merged at https://github.com/Cosmicist/AsymmetriCrypt/pull/5/commits/a0318cfc5022f2a7715322dba3ff91d475ace7c6.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-15 17:47 UTC
Modified
2024-11-29 05:32 UTC

Affected packages and fixes

asymmetricrypt/asymmetricrypt

Packagist · All systems

Affected

  • introduced 0, last affected 0.3.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences