GHSA-ww3w-592j-5qrw

Suggest an improvement
Source
https://github.com/advisories/GHSA-ww3w-592j-5qrw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-ww3w-592j-5qrw/GHSA-ww3w-592j-5qrw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ww3w-592j-5qrw
Aliases
Published
2022-05-17T01:17:12Z
Modified
2024-04-25T21:26:44.794344Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
SimpleSAMLphp Incorrect IV generation for encryption
Details

The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attackers to bypass the encryption protection mechanism by leveraging use of the first 16 bytes of the secret key as the initialization vector (IV).

Database specific
{
    "nvd_published_at": "2017-09-01T21:29:00Z",
    "cwe_ids": [
        "CWE-326"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-25T21:00:11Z"
}
References

Affected packages

Packagist / simplesamlphp/simplesamlphp

Package

Name
simplesamlphp/simplesamlphp
Purl
pkg:composer/simplesamlphp/simplesamlphp

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.14.0
Fixed
1.14.12

Affected versions

v1.*

v1.14.0
v1.14.1
v1.14.2
v1.14.3
v1.14.4
v1.14.5
v1.14.6
v1.14.7
v1.14.8
v1.14.9
v1.14.10
v1.14.11