CVE-2021-35564: Input Validation

Published Oct 18, 2021
·
Updated

A flaw was found in the way the Keytool component of OpenJDK handled X.509 certificates with validity period ending too far in the future, after year 9999. When such certificates were imported into a keystore, they could cause corruption of the keystore.

Other sources

An unspecified vulnerability in Java SE related to the Keytool component could allow an unauthenticated attacker to cause no confidentiality impact, low integrity impact, and no availability impact.

— IBM

Vulnerability in the Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Keytool). Supported versions that are affected are Java SE: 7u311, 8u301, 11.0.12, 17; Oracle GraalVM Enterprise Edition: 20.3.3 and 21.2.0. Easily exploitable vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. CVSS 3.1 Base Score 5.3 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Affected Software

73 affected componentsFixes available
redhat/java<1.8.0-openjdk-1:1.8.0.312.b07-1.el7_9
1.8.0-openjdk-1:1.8.0.312.b07-1.el7_9
redhat/java<11-openjdk-1:11.0.13.0.8-1.el7_9
11-openjdk-1:11.0.13.0.8-1.el7_9
redhat/java<1.8.0-ibm-1:1.8.0.7.0-1jpp.1.el7
1.8.0-ibm-1:1.8.0.7.0-1jpp.1.el7
redhat/java<1.7.1-ibm-1:1.7.1.5.0-1jpp.1.el7
1.7.1-ibm-1:1.7.1.5.0-1jpp.1.el7
redhat/java<11-openjdk-1:11.0.13.0.8-1.el8_4
11-openjdk-1:11.0.13.0.8-1.el8_4
redhat/java<1.8.0-openjdk-1:1.8.0.312.b07-1.el8_4
1.8.0-openjdk-1:1.8.0.312.b07-1.el8_4
redhat/java<17-openjdk-1:17.0.1.0.12-2.el8_5
17-openjdk-1:17.0.1.0.12-2.el8_5
redhat/java<1.8.0-ibm-1:1.8.0.7.0-1.el8_5
1.8.0-ibm-1:1.8.0.7.0-1.el8_5
redhat/java<1.8.0-openjdk-1:1.8.0.312.b07-1.el8_1
1.8.0-openjdk-1:1.8.0.312.b07-1.el8_1
redhat/java<11-openjdk-1:11.0.13.0.8-1.el8_1
11-openjdk-1:11.0.13.0.8-1.el8_1
redhat/java<1.8.0-openjdk-1:1.8.0.312.b07-1.el8_2
1.8.0-openjdk-1:1.8.0.312.b07-1.el8_2
redhat/java<11-openjdk-1:11.0.13.0.8-1.el8_2
11-openjdk-1:11.0.13.0.8-1.el8_2
Oracle GraalVM=20.3.3
Oracle GraalVM=21.2.0
Oracle OpenJDK=7-update311
Oracle OpenJDK=8-update301
Oracle OpenJDK=11.0.12
Oracle OpenJDK=17
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp E-Series SANtricity OS Controller>=11.0.0<=11.50.2
NetApp E-series Santricity Storage Manager
NetApp E-series Santricity Web Services Web Services Proxy
NetApp Hci Management Node
NetApp OnCommand Insight
NetApp OnCommand Workflow Automation
NetApp Santricity Unified Manager
NetApp Snapmanager Oracle
NetApp Snapmanager Sap
NetApp Solidfire
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
alpine/openjdk11<11.0.14_p9-r0
11.0.14_p9-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk11<11.0.13_p8-r0
11.0.13_p8-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk17<17.0.1_p12-r0
17.0.1_p12-r0
alpine/openjdk7<7.321.2.6.28-r0
7.321.2.6.28-r0
alpine/openjdk7<7.321.2.6.28-r0
7.321.2.6.28-r0
alpine/openjdk7<7.321.2.6.28-r0
7.321.2.6.28-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
alpine/openjdk8<8.312.07-r0
8.312.07-r0
debian/openjdk-11
11.0.13+8-1~deb10u111.0.13+8-1~deb11u111.0.13+8-1
debian/openjdk-17
17.0.1+12-1+deb11u217.0.1+12-1
debian/openjdk-8
8u312-b07-1~deb9u18u312-b07-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.8.0-openjdk-1:1.8.0.312.b07-1.el7_9
  2. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 11-openjdk-1:11.0.13.0.8-1.el7_9
  3. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.8.0-ibm-1:1.8.0.7.0-1jpp.1.el7
  4. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.7.1-ibm-1:1.7.1.5.0-1jpp.1.el7
  5. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 11-openjdk-1:11.0.13.0.8-1.el8_4
  6. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.8.0-openjdk-1:1.8.0.312.b07-1.el8_4
  7. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 17-openjdk-1:17.0.1.0.12-2.el8_5
  8. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.8.0-ibm-1:1.8.0.7.0-1.el8_5
  9. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.8.0-openjdk-1:1.8.0.312.b07-1.el8_1
  10. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 11-openjdk-1:11.0.13.0.8-1.el8_1
  11. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 1.8.0-openjdk-1:1.8.0.312.b07-1.el8_2
  12. Upgrade

    Upgrade redhat/java to a version that resolves this vulnerability.

    Fixed in 11-openjdk-1:11.0.13.0.8-1.el8_2
  13. Upgrade

    Upgrade alpine/openjdk11 to a version that resolves this vulnerability.

    Fixed in 11.0.14_p9-r0
  14. Upgrade

    Upgrade alpine/openjdk11 to a version that resolves this vulnerability.

    Fixed in 11.0.13_p8-r0
  15. Upgrade

    Upgrade alpine/openjdk17 to a version that resolves this vulnerability.

    Fixed in 17.0.1_p12-r0
  16. Upgrade

    Upgrade alpine/openjdk7 to a version that resolves this vulnerability.

    Fixed in 7.321.2.6.28-r0
  17. Upgrade

    Upgrade alpine/openjdk8 to a version that resolves this vulnerability.

    Fixed in 8.312.07-r0
  18. Upgrade

    Upgrade debian/openjdk-11 to a version that resolves this vulnerability.

    Fixed in 11.0.13+8-1~deb10u1Fixed in 11.0.13+8-1~deb11u1Fixed in 11.0.13+8-1
  19. Upgrade

    Upgrade debian/openjdk-17 to a version that resolves this vulnerability.

    Fixed in 17.0.1+12-1+deb11u2Fixed in 17.0.1+12-1
  20. Upgrade

    Upgrade debian/openjdk-8 to a version that resolves this vulnerability.

    Fixed in 8u312-b07-1~deb9u1Fixed in 8u312-b07-1
  21. Upgrade

    Upgrade Java SE (Keytool) to a version that resolves this vulnerability.

    Fixed in 7u311
  22. Upgrade

    Upgrade Java SE (Keytool) to a version that resolves this vulnerability.

    Fixed in 8u301
  23. Upgrade

    Upgrade Java SE (Keytool) to a version that resolves this vulnerability.

    Fixed in 11.0.12
  24. Upgrade

    Upgrade Java SE (Keytool) to a version that resolves this vulnerability.

    Fixed in 17
  25. Upgrade

    Upgrade Oracle GraalVM Enterprise Edition (Keytool) to a version that resolves this vulnerability.

    Fixed in 20.3.3
  26. Upgrade

    Upgrade Oracle GraalVM Enterprise Edition (Keytool) to a version that resolves this vulnerability.

    Fixed in 21.2.0
  27. Compensating control

    Avoid importing X.509 certificates with validity period end dates too far in the future (e.g., after year 9999) into Java SE/Oracle GraalVM key stores, since importing such certificates could corrupt the keystore.

Event History

Oct 18, 2021
Data Sourced
10:24 AM
DescriptionSeverityAffected Software
Oct 19, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
Oct 20, 2021
CVE Published
via MITRE·10:50 AM
Data Sourced
via MITRE·10:50 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·11:16 AM
DescriptionSeverityAffected Software
Dec 2, 2021
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Apr 6, 2022
Data Sourced
via Red Hat·11:58 AM
DescriptionSeverityAffected Software
Apr 25, 2022
Updated
12:00 AM
Affected Software
Feb 23, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 26, 2024
Updated
via IBM·12:00 AM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2021-35564.

2

What is the severity of CVE-2021-35564?

The severity of CVE-2021-35564 is medium with a CVSS score of 5.3.

3

Which component of Java SE is affected by CVE-2021-35564?

The Keytool component of Java SE is affected by CVE-2021-35564.

4

How can CVE-2021-35564 be exploited?

CVE-2021-35564 can be easily exploited without authentication.

5

What are the affected versions of Java SE and Oracle GraalVM Enterprise Edition?

The affected versions of Java SE are 7u311, 8u301, 11.0.12, and 17. The affected versions of Oracle GraalVM Enterprise Edition are 20.3.3 and 21.2.0.

6

How can I fix CVE-2021-35564?

To fix CVE-2021-35564, you should install the relevant patches or updates provided by Oracle or Red Hat.

7

Where can I find more information about CVE-2021-35564?

You can find more information about CVE-2021-35564 on the Oracle and Red Hat websites.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203