CVE-2021-27918: High severity IBM Data Virtualization on Cloud Pak for Data vulnerability

Published Mar 10, 2021
·
Updated

An infinite loop vulnerability was found in golang. If an application defines a custom token parser initializing with xml.NewTokenDecoder it is possible for the parsing loop to never return. An attacker could potentially craft a malicious XML document which has an XML element with EOF within it, causing the parsing application to endlessly loop, resulting in a Denial of Service (DoS).

Other sources

encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.

Golang Go is vulnerable to a denial of service, caused by an infinite loop flaw when using xml.NewTokenDecoder with a custom TokenReader. By persuading a victim to open a specially-crafted XML content, a remote attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

12 affected componentsFixes available
redhat/openshift-serverless-clients<0:0.22.0-3.el8
0:0.22.0-3.el8
redhat/openshift-serverless-clients<0:0.23.2-1.el8
0:0.23.2-1.el8
IBM Data Virtualization on Cloud Pak for Data<=3.0
IBM Watson Query on Cloud Pak for Data<=2.2
IBM Watson Query on Cloud Pak for Data<=2.1
IBM Watson Query on Cloud Pak for Data<=2.0
IBM Data Virtualization on Cloud Pak for Data<=1.8
IBM Data Virtualization on Cloud Pak for Data<=1.7
Golang GO<1.15.9
Golang GO>=1.16.0<1.16.1
redhat/go<1.15.9
1.15.9
redhat/go<1.16.1
1.16.1

Event History

Mar 10, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·11:54 PM
Data Sourced
via MITRE·11:54 PM
Description
Mar 11, 2021
Data Sourced
via Red Hat·05:41 PM
DescriptionSeverityAffected Software
Aug 15, 2025
Data Sourced
via IBM·03:29 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-27918?

CVE-2021-27918 is an infinite loop vulnerability found in Golang versions before 1.15.9 and 1.16.x before 1.16.1.

2

What is the severity of CVE-2021-27918?

CVE-2021-27918 has a severity level of high.

3

How does CVE-2021-27918 affect the software?

CVE-2021-27918 affects Golang versions before 1.15.9 and 1.16.x before 1.16.1, as well as certain versions of openshift-serverless-clients.

4

How can I fix CVE-2021-27918?

To fix CVE-2021-27918, update your Golang installation to version 1.15.9 or higher.

5

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

You can find more information about CVE-2021-27918 at the following references: [CVE-2021-27918](https://www.cve.org/CVERecord?id=CVE-2021-27918), [NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-27918), [Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1937901), [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2021:2705).

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