GHSA-r2r8-36pq-27cm nzo/url-encryptor-bundle Insecure default secret key and IV allowing anyone to decrypt values

Not scored Published

An attacker can decrypt and modify encrypted data due to insecure default cryptographic settings in the URL encryptor bundle.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-r2r8-36pq-27cm?

GHSA-r2r8-36pq-27cm is a vulnerability in nzo/url-encryptor-bundle, published on 17 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Versions of nzo/url-encryptor-bundle prior to 5.0.1 and 4.3.2 are affected by a security vulnerability related to the lack of mandatory key and IV requirements. By default, the bundle uses the aes-256-ctr algorithm, which is susceptible to malleability attacks, potentially leading to Insecure Direct Object Reference (IDOR) vulnerabilities. Additionally, the reuse of keys enables users to decrypt and modify encrypted data if they can guess the plaintext of one ciphertext.

Which versions are affected by GHSA-r2r8-36pq-27cm?

4 open source packages ship an affected version, including nzo/url-encryptor-bundle.

PackageAffectedFixed in
nzo/url-encryptor-bundle PackagistFrom 4.0.04.3.2
nzo/url-encryptor-bundle PackagistFrom 4.0.04.3.2
nzo/url-encryptor-bundle PackagistFrom 5.0.05.0.1
nzo/url-encryptor-bundle PackagistFrom 5.0.05.0.1

How do I fix GHSA-r2r8-36pq-27cm?

Upgrade nzo/url-encryptor-bundle to a fixed version for your release line: 4.3.2 or 5.0.1.

Is GHSA-r2r8-36pq-27cm being exploited?

There is no known exploitation of GHSA-r2r8-36pq-27cm in the wild and no public exploit code.

Sources

Is GHSA-r2r8-36pq-27cm in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free