Advisory

GHSA-ww3w-592j-5qrw

Also known as: CVE-2017-12871

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).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 01:17 UTC
Modified
2024-04-25 21:26 UTC

Affected packages and fixes

simplesamlphp/simplesamlphp

Packagist · All systems

Affected

  • introduced 1.14.0, fixed 1.14.12 (ecosystem)

Fixed versions

1.14.12

Fix

The export has no generic command for this ecosystem.

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