# CVE-2017-12871: SimpleSAMLphp Incorrect IV generation for encryption

Source: https://junglewise.ai/threats/cve-2017-12871-simplesamlphp-incorrect-iv-generation-for-encryption  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2017-12871 · Severity: low · CVSS 3 · Published 2022-05-17

SimpleSAMLphp Incorrect IV generation for encryption

Technologies: [simplesamlphp/simplesamlphp (Packagist)](https://junglewise.ai/threats/technologies/simplesamlphp-simplesamlphp). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2017-12871 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-12871 being exploited in the wild.

**How severe is CVE-2017-12871?** Low severity, with a CVSS score of 3, published 17 May 2022.

**Which products and versions are affected?** simplesamlphp/simplesamlphp (Packagist) ECOSYSTEM:introduced=1.14.0,fixed=1.14.12.

**Is there a fix for CVE-2017-12871?** Yes. simplesamlphp/simplesamlphp (Packagist): upgrade to 1.14.12 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-12871?** Check whether you run simplesamlphp/simplesamlphp (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- simplesamlphp/simplesamlphp (Packagist): upgrade to 1.14.12 or later

  ```sh
  composer require simplesamlphp/simplesamlphp:^1.14.12
  ```


## Affected products

- simplesamlphp/simplesamlphp (Packagist) ECOSYSTEM:introduced=1.14.0,fixed=1.14.12

## Identifiers

- CVE-2017-12871
- GHSA-ww3w-592j-5qrw

## Related threats

- [SimpleSAMLphp authentication bypass in SAML SP ACS path](https://junglewise.ai/threats/cve-2026-49284-simplesamlphp-authentication-bypass-in-saml-sp-acs-path)
- [SimpleSAMLphp vulnerable to XXE in parsing SAML messages](https://junglewise.ai/threats/simplesamlphp-vulnerable-to-xxe-in-parsing-saml-messages-e65d95cd)
- [SimpleSAMLphp Information Disclosure vulnerability](https://junglewise.ai/threats/simplesamlphp-information-disclosure-vulnerability-07de5cdd)
- [SimpleSAMLphp Reflected Cross-site Scripting vulnerability](https://junglewise.ai/threats/simplesamlphp-reflected-cross-site-scripting-vulnerability-76196f28)
- [Duplicate Advisory: SimpleSAMLphp signature validation bypass](https://junglewise.ai/threats/duplicate-advisory-simplesamlphp-signature-validation-bypass-85859e99)
