GHSA-r2r8-36pq-27cm: Nzo/url encryptor bundle Nzo/url-encryptor-bundle Insecure Default Secret Key Vulnerability
HIGHGHSA-r2r8-36pq-27cm is a HIGH nzo/url-encryptor-bundle insecure default secret key vulnerability (General Security Weakness) affecting Nzo/url encryptor bundle libraries in the Packagist ecosystem. The issue involves nzo/url-encryptor-bundle insecure default secret key and iv allowing anyone to decrypt values. Remediation is available by upgrading affected packages to version 5.0.1, 4.3.2.
GHSA-r2r8-36pq-27cm at a Glance
How to Fix GHSA-r2r8-36pq-27cm
To remediate this vulnerability, upgrade all affected Nzo/url encryptor bundle 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 nzo/url-encryptor-bundle to 5.0.1
Upgrade nzo/url-encryptor-bundle to 4.3.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for nzo/url-encryptor-bundle
How to Check if You Are Affected
To determine whether your application is affected by GHSA-r2r8-36pq-27cm, inspect your project dependencies for Nzo/url encryptor bundle:
inspect dependencies for nzo/url-encryptor-bundle
Analyze the terminal output to locate any version of Nzo/url encryptor bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.1), 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 General Security Weakness. In Nzo/url encryptor bundle, 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-r2r8-36pq-27cm Affected Nzo/url encryptor bundle Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nzo/url-encryptor-bundle
|
Packagist |
≥ 5.0.0
< 5.0.1
|
5.0.1
|
|
nzo/url-encryptor-bundle
|
Packagist |
≥ 4.0.0
< 4.3.2
|
4.3.2
|
References
Frequently Asked Questions
What is GHSA-r2r8-36pq-27cm?
Which Nzo/url encryptor bundle versions are affected?
What version fixes GHSA-r2r8-36pq-27cm?
Is nzo/url-encryptor-bundle affected?
What CWE is associated with GHSA-r2r8-36pq-27cm?
How can I check Packagist dependencies for GHSA-r2r8-36pq-27cm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r2r8-36pq-27cm",
"modified" : "2024-05-17T23:06:52Z",
"published" : "2024-05-17T23:06:52Z",
"aliases" : [ ],
"summary" : "nzo/url-encryptor-bundle Insecure default secret key and IV allowing anyone to decrypt values",
"details" : "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.\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "nzo/url-encryptor-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "nzo/url-encryptor-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nayzo/NzoUrlEncryptorBundle/commit/ba3af1a9bcf3bedcc0ed5948979f482e2134da1a"
}, {
"type" : "WEB",
"url" : "https://github.com/nayzo/NzoUrlEncryptorBundle/commit/bd8232501c12c9df1bc45b1970870ef665218581"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/nzo/url-encryptor-bundle/2020-05-03.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nayzo/NzoUrlEncryptorBundle"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-17T23:06:52Z",
"nvd_published_at" : null
}
}