CVE-2017-15361
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as...
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as versions before 0000000000000422 - 4.34, before 000000000000062b - 6.43, and before 0000000000008521 - 133.33, mishandles RSA key generation, which makes it easier for attackers to defeat various cryptographic protection mechanisms via targeted attacks, aka ROCA. Examples of affected technologies include BitLocker with TPM 1.2, YubiKey 4 (before 4.3.5) PGP key generation, and the Cached User Data encryption feature in Chrome OS.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.9
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as versions before 0000000000000422 - 4.34, before 000000000000062b - 6.43, and before 0000000000008521 - 133.33, mishandles RSA key generation, which makes it easier for attackers to defeat various cryptographic protection mechanisms via targeted attacks, aka ROCA. Examples of affected technologies include BitLocker with TPM 1.2, YubiKey 4 (before 4.3.5) PGP key generation, and the Cached User Data encryption feature in Chrome OS.
- Record
CVE-2017-15361- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
CVE List No score
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as versions before 0000000000000422 - 4.34, before 000000000000062b - 6.43, and before 0000000000008521 - 133.33, mishandles RSA key generation, which makes it easier for attackers to defeat various cryptographic protection mechanisms via targeted attacks, aka ROCA. Examples of affected technologies include BitLocker with TPM 1.2, YubiKey 4 (before 4.3.5) PGP key generation, and the Cached User Data encryption feature in Chrome OS.
- Record
CVE-2017-15361- Updated
- 2026-11-02
EUVDEUVD-2017-6817 No score
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as versions before 0000000000000422 - 4.34, before 000000000000062b - 6.43, and before 0000000000008521 - 133.33, mishandles RSA key generation, which makes it easier for attackers to defeat various cryptographic protection mechanisms via targeted attacks, aka ROCA. Examples of affected technologies include BitLocker with TPM 1.2, YubiKey 4 (before 4.3.5) PGP key generation, and the Cached User Data encryption feature in Chrome OS.
- Record
EUVD-2017-6817- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qcrq-wp7v-84jc
5.9
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as...
The Infineon RSA library 1.02.013 in Infineon Trusted Platform Module (TPM) firmware, such as versions before 0000000000000422 - 4.34, before 000000000000062b - 6.43, and before 0000000000008521 - 133.33, mishandles RSA key generation, which makes it easier for attackers to defeat various cryptographic protection mechanisms via targeted attacks, aka ROCA. Examples of affected technologies include BitLocker with TPM 1.2, YubiKey 4 (before 4.3.5) PGP key generation, and the Cached User Data encryption feature in Chrome OS.
- Record
GHSA-qcrq-wp7v-84jc- CVSS 3.0
- 5.9 Medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2017-0395 No score
Updated opensc_etc packages fix security vulnerability
A vulnerability, dubbed ROCA, was identified in an implementation of RSA key generation due to a fault in a code library developed by Infineon Technologies. The affected encryption keys are used to secure many forms of technology, such as hardware chips, authentication tokens, software packages, electronic documents, TLS/HTTPS keys, and PGP. Infineon Technologies’ smartcards, security tokens, and secure hardware chips produced since 2012 use the affected code library. Successful exploitation of this vulnerability results in an attacker being able to derive a private key from the public key, using prime factorization, within a practical time frame.
This vulnerability does not affect the RSA encryption algorithm itself, and only affects the implementation of the RSA encryption by Infineon Technologies.
This vulnerability also affects Estonian ID cards that were issued after 16th October 2014. With the updated packages the user is able to update his/her certificates and continue using the online services that require ID card.
- Record
MGASA-2017-0395- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
openscMageia:6 |
before 0.15.0-2.1.mga6 | 0.15.0-2.1.mga6 |
libdigidocppMageia:6 |
before 3.13.2-1.mga6 | 3.13.2-1.mga6 |
qdigidocMageia:6 |
before 3.13.3-1.mga6 | 3.13.3-1.mga6 |
qesteidutilMageia:6 |
before 3.12.7-2.mga6 | 3.12.7-2.mga6 |
chrome-token-signingMageia:6 |
before 1.0.6-1.mga6 | 1.0.6-1.mga6 |
task-esteidMageia:6 |
before 3.13.3-1.mga6 | 3.13.3-1.mga6 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | 0xxon/roca | 2017-10-25 |
| PoC in GitHub | 0xxon/zeek-plugin-roca | 2017-10-25 |
| PoC in GitHub | Elbarbons/ROCA-attack-on-vulnerability-CVE-2017-15361 | 2020-11-02 |
| PoC in GitHub | lva/Infineon-CVE-2017-15361 | 2017-10-17 |
| PoC in GitHub | nsacyber/Detect-CVE-2017-15361-TPM | 2017-10-19 |
| PoC in GitHub | titanous/rocacheck | 2017-10-17 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-15361 is a medium vulnerability (CVSS 5.9) in Infineon Rsa Library, published October 16, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 9.83%, the 95th percentile. Fixed in opensc 0.15.0-2.1.mga6.
References
infineon.com/cms/en/product/promopages/tpm-update?redirId=59160
dan.enigmabridge.com/roca-vulnerability-impact-on-gemalto-idprime-net-smart-cards
blog.cr.yp.to/20171105-infineon.html
support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03801en_us
monitor.certipath.com/rsatest
ics-cert.us-cert.gov/advisories/ICSA-18-058-01
Show 21 moreShow less
portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV170012
crocs.fi.muni.cz/public/papers/rsa_ccs17
arstechnica.com/information-technology/2017/10/crypto-failure-cripples-millions-of-high-security-keys-750k-estonian-ids
support.lenovo.com/us/en/product_security/LEN-15552
security.netapp.com/advisory/ntap-20171024-0001
github.com/iadgov/Detect-CVE-2017-15361-TPM
intel.com/content/www/us/en/security-center/advisory/intel-sa-00104.html
kb.cert.org/vuls/id/307015
github.com/crocs-muni/roca
sites.google.com/a/chromium.org/dev/chromium-os/tpm_firmware_update
cert-portal.siemens.com/productcert/pdf/ssa-470231.pdf
support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03789en_us
intel.com/content/www/us/en/security-center/advisory/intel-sa-00148.html
yubico.com/support/security-advisories/ysa-2017-01
securityfocus.com/bid/101484
keychest.net/roca
nvd.nist.gov/vuln/detail/CVE-2017-15361
github.com/advisories/GHSA-qcrq-wp7v-84jc
advisories.mageia.org/MGASA-2017-0395.html
bugs.mageia.org/show_bug.cgi?id=21944
politsei.ee/en/uudised/uudis.dot?id=785151