BlackTreeCVE Intelligence
← Back to the CVE catalogue
Full vulnerability report · 2021
CVE-2021-27918High confidence

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

Unknown · Unknown

7.5HighCVSS 3.1
Recommended action
Within 7 days

High technical severity; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
R
Operational reassessment

Published severity in operational context

Open reassessment dashboard →
Published severityHighOperational priority:High, unchanged from published severity.unchanged

Evidence used

  • No CISA KEV confirmation is currently recorded.
  • The selected CVSS metric records a network-reachable, unauthenticated path with no user interaction.
  • EPSS is 2.47% for the current model date.

Compensating controls

  • Restrict the affected network interface to trusted sources where business-safe.
  • Monitor vendor guidance and exploitation sources for a material change.

Verification

  1. Confirm that the asset runs Unknown Unknown and falls inside the recorded affected range.
  2. Recheck the vendor advisory before scheduling a change because no verified fixed version is currently retained.
  3. Validate exposure, authentication requirements and compensating controls in the actual environment.
  4. Reopen this reassessment when CVSS, KEV, EPSS, exploit evidence or remediation changes.
Mitigation target: Within 30 daysRemediation target: Within 180 days

This automated reassessment organises public evidence. It does not know asset exposure, business impact or control effectiveness and does not replace CVSS or a human risk decision.

Distribution package intelligence

Release-specific package status

Alpine findings are scoped to the named distribution, release and source package. An absent finding does not mean a package is unaffected.

3 package states
Repository candidate not checked

A published vendor fix does not prove that a matching update is enabled and installable on a particular asset. Confirm the local package candidate before scheduling remediation.

Distribution releaseSource packageVendor stateFixed versionEvidence
Alpine v3.23v3.23 · communitygoVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.1.16.2-r0Alpine Security Database ↗Source updated 11 Sep 2026
Alpine v3.22v3.22 · communitygoVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.1.16.2-r0Alpine Security Database ↗Source updated 11 Sep 2026
Alpine v3.21v3.21 · communitygoVendor fix publishedAlpine records a security fix at this version. An absent entry does not mean the package is unaffected.1.16.2-r0Alpine Security Database ↗Source updated 19 Aug 2026
Optional official sources

National CERT insights
?CERT means Computer Emergency Response Team; CSIRT is the closely related term Computer Security Incident Response Team.

Choose official national sources for this report. Each advisory shows its original language. Your selection is remembered on this device and included in shared links.

Official European source

ENISA European Vulnerability Database

Official EUVD identifiers, advisory evidence and known-exploited context. Missing fields are not treated as evidence of low risk.

1 current
ENISA EUVD identifier

EUVD-2021-14641

No EUVD known-exploited evidence

ENISA has published the identifier mapping but no EUVD description has been stored yet.

EUVD state
Present in the current official mapping
Known exploitation
Not present in the current ENISA EUVD known-exploited dataset. This is not proof of no exploitation.
ENISA score
Not supplied in the stored EUVD record
Advisory evidence
No linked advisory details stored yet
Recommended actionWithin 7 days

High technical severity; prioritise exposed affected systems while verifying vendor guidance.

Fix not verified
01

What, why and how

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.

What

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.

Why

A malformed condition prevents a loop from making progress or terminating, allowing resource exhaustion.

How

An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

What

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.

Why

A malformed condition prevents a loop from making progress or terminating, allowing resource exhaustion.

How

An attacker operating through a network path may attempt exploitation without authentication or user interaction. If successful, the issue may cause the confidentiality, integrity or availability impact described by the vendor.

02

Exploit reality and attack path

CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.

Observed exploitation
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
No confirmed evidence

No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.

Public PoC / exploit material
?Confirmed exploitation and public exploit material are separate signals. Attacks can occur without public proof-of-concept or exploit code.
None recorded

No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.

Likely attack path
a network path → Loop with Unreachable Exit Condition ('Infinite Loop') → cause the confidentiality, integrity or availability impact described by the vendor
Attack surface
Network
Privileges required
None: unauthenticated exploitation is possible
User interaction
None
Attack complexity
Low: no specialised conditions are recorded
Security boundary
Unchanged: impact remains within the vulnerable component's security authority
Weakness
?CWE means Common Weakness Enumeration: a standard category for the underlying weakness.
CWE-835 ↗

CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop'). The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

CVSS vector
?CVSS means Common Vulnerability Scoring System. The vector records the metric values used to calculate technical severity.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Common Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.

AVNetworkAttack vector: The vulnerable component can be reached over a network.ACLowAttack complexity: No specialised conditions are required beyond attacker-controlled input.PRNonePrivileges required: The attacker does not need an account or existing privileges.UINoneUser interaction: No action by another user is required.SUnchangedScope: The security impact remains within the vulnerable component's authority.CNoneConfidentiality impact: No direct loss is represented by this metric.INoneIntegrity impact: No direct loss is represented by this metric.AHighAvailability impact: A successful attack can cause a major loss.
Post-exploitation / living off the land
Stolen credentials, tokens and legitimate administration functions may provide continued access without deploying a large custom toolset.
NetworkUnauthenticatedCWE-835
A

Official authority intelligence

Only matched European and national findings are included. Language selectors and unavailable sources are omitted.

BSI · German · WID-SEC-2024-0794Dell ECS: Mehrere Schwachstellen

Ein Angreifer kann mehrere Schwachstellen in Dell ECS ausnutzen, um seine Privilegien zu erweitern, beliebigen Programmcode mit Administratorrechten auszuführen, Informationen offenzulegen, Dateien zu manipulieren, einen Cross-Site-Scripting-Angriff durchzuführen, Sicherheitsvorkehrungen zu umgehen oder einen Denial of Service Zustand herbeizuführen.

Official advisory ↗
BSI · German · WID-SEC-2023-2229Splunk Splunk Enterprise: Mehrere Schwachstellen

Ein entfernter, authentifizierter Angreifer kann mehrere Schwachstellen in Splunk Splunk Enterprise ausnutzen, um beliebigen Code auszuführen, einen 'Denial of Service'-Zustand zu verursachen, seine Privilegien zu erweitern und weitere, nicht spezifizierte Auswirkungen zu verursachen.

Official advisory ↗
BSI · German · WID-SEC-2022-0510IBM DB2: Mehrere Schwachstellen

Ein entfernter, anonymer, authentisierter oder lokaler Angreifer kann mehrere Schwachstellen in IBM DB2 ausnutzen, um Dateien zu manipulieren, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand auszulösen, willkürlichen Code mit erhöhten Rechten auszuführen, Informationen falsch darzustellen und beliebigen Code auszuführen.

Official advisory ↗
Cyber Security Agency of Singapore · English · CSA-SB-20210317Security Bulletin 17 Mar 2021

The Cyber Security Agency of Singapore included this CVE in its official Security Bulletin 17 Mar 2021, published on 17 March 2021. Open the linked bulletin for the product, severity and reference information published in that issue.

Official advisory ↗
CERT-FR · French · CERTFR-2025-AVI-0582Multiples vulnérabilités dans les produits Palo Alto Networks

ecord?id=CVE-2019-19603 Référence CVE CVE-2019-5827 https://www.cve.org/CVERecord?id=CVE-2019-5827 Référence CVE CVE-2020-13434 https://www.cve.org/CVERecord?id=CVE-2020-13434 Référence CVE CVE-2020-13435 https://www.cve.org/CVERecord?id=CVE-2020-13435 Référence CVE CVE-2020-14040 https://www.cve.org/CVERecord?id=CVE-2020-14040 Référence CVE CVE-2020-15358 https://www.cve.org/CVERecord?id=CVE-2020-15358 Référence CVE CVE-2020-29652 https://www.cve.org/CVERecord?id=CVE-2020-29652 Référence CVE CVE-2020-9283 https://www.cve.org/CVERecord?id=CVE-2020-9283 Référence CVE CVE-2021-20305 https://www.cve.org/CVERecord?id=CVE-2021-20305 Référence CVE CVE-2021-27918 https://www.cve.org/CVERecord?id=CVE-2021-27918 Référence CVE CVE-2022-1962 https://www.cve.org/CVERecord?id=CVE-2022-1962 Référence CVE CVE-2022-28131 https://www.cve.org/CVERecord?id=CVE-2022-28131 Référence CVE CVE-2022-30633 https://www.cve.org/CVERecord?id=CVE-2022-30633 Référence CVE CVE-2023-27536 https://www.cve.org/CVERecord?id=CVE-2023-27536 Référence CVE CVE-2023-28321 https://www.cve.org/CVERecord?id=CVE-2023-28321 Référence CVE CVE-2023-28322 https://www.cve.org/CVERecord?id=CVE-2023-28322 Référence CVE CVE-2023-38546 https://www.cve.org/CVERecord?id=CVE-2023-38546 Référence CVE CVE-2023-3978 https://www.cve.org/CVERecord?id=CVE

Official advisory ↗
CERT-FR · French · CERTFR-2024-AVI-0145Multiples vulnérabilités dans les produits IBM

ord?id=CVE-2020-28367 Référence CVE CVE-2020-29510 https://www.cve.org/CVERecord?id=CVE-2020-29510 Référence CVE CVE-2020-8244 https://www.cve.org/CVERecord?id=CVE-2020-8244 Référence CVE CVE-2021-22922 https://www.cve.org/CVERecord?id=CVE-2021-22922 Référence CVE CVE-2021-22923 https://www.cve.org/CVERecord?id=CVE-2021-22923 Référence CVE CVE-2021-22925 https://www.cve.org/CVERecord?id=CVE-2021-22925 Référence CVE CVE-2021-22926 https://www.cve.org/CVERecord?id=CVE-2021-22926 Référence CVE CVE-2021-22946 https://www.cve.org/CVERecord?id=CVE-2021-22946 Référence CVE CVE-2021-22947 https://www.cve.org/CVERecord?id=CVE-2021-22947 Référence CVE CVE-2021-27918 https://www.cve.org/CVERecord?id=CVE-2021-27918 Référence CVE CVE-2021-29923 https://www.cve.org/CVERecord?id=CVE-2021-29923 Référence CVE CVE-2021-3114 https://www.cve.org/CVERecord?id=CVE-2021-3114 Référence CVE CVE-2021-31525 https://www.cve.org/CVERecord?id=CVE-2021-31525 Référence CVE CVE-2021-33194 https://www.cve.org/CVERecord?id=CVE-2021-33194 Référence CVE CVE-2021-33195 https://www.cve.org/CVERecord?id=CVE-2021-33195 Référence CVE CVE-2021-33196 https://www.cve.org/CVERecord?id=CVE-2021-33196 Référence CVE CVE-2021-33197 https://www.cve.org/CVERecord?id=CVE-2021-33197 Référence CVE CVE-2021-33198 https://www.cve.org/CVERecord?id=CV

Official advisory ↗
CERT-FR · French · CERTFR-2023-AVI-0976Multiples vulnérabilités dans les produits IBM

d?id=CVE-2017-18640 Référence CVE CVE-2020-10735 https://www.cve.org/CVERecord?id=CVE-2020-10735 Référence CVE CVE-2020-14039 https://www.cve.org/CVERecord?id=CVE-2020-14039 Référence CVE CVE-2020-15586 https://www.cve.org/CVERecord?id=CVE-2020-15586 Référence CVE CVE-2020-16845 https://www.cve.org/CVERecord?id=CVE-2020-16845 Référence CVE CVE-2020-24553 https://www.cve.org/CVERecord?id=CVE-2020-24553 Référence CVE CVE-2020-28362 https://www.cve.org/CVERecord?id=CVE-2020-28362 Référence CVE CVE-2020-28366 https://www.cve.org/CVERecord?id=CVE-2020-28366 Référence CVE CVE-2020-28367 https://www.cve.org/CVERecord?id=CVE-2020-28367 Référence CVE CVE-2021-27918 https://www.cve.org/CVERecord?id=CVE-2021-27918 Référence CVE CVE-2021-29923 https://www.cve.org/CVERecord?id=CVE-2021-29923 Référence CVE CVE-2021-3114 https://www.cve.org/CVERecord?id=CVE-2021-3114 Référence CVE CVE-2021-31525 https://www.cve.org/CVERecord?id=CVE-2021-31525 Référence CVE CVE-2021-32803 https://www.cve.org/CVERecord?id=CVE-2021-32803 Référence CVE CVE-2021-32804 https://www.cve.org/CVERecord?id=CVE-2021-32804 Référence CVE CVE-2021-33195 https://www.cve.org/CVERecord?id=CVE-2021-33195 Référence CVE CVE-2021-33196 https://www.cve.org/CVERecord?id=CVE-2021-33196 Référence CVE CVE-2021-33197 https://www.cve.org/CVERecord?id=CV

Official advisory ↗
CERT-FR · French · CERTFR-2023-AVI-0701Multiples vulnérabilités dans Splunk

d?id=CVE-2021-22923 Référence CVE CVE-2021-22924 https://www.cve.org/CVERecord?id=CVE-2021-22924 Référence CVE CVE-2021-22925 https://www.cve.org/CVERecord?id=CVE-2021-22925 Référence CVE CVE-2021-22926 https://www.cve.org/CVERecord?id=CVE-2021-22926 Référence CVE CVE-2021-22945 https://www.cve.org/CVERecord?id=CVE-2021-22945 Référence CVE CVE-2021-22946 https://www.cve.org/CVERecord?id=CVE-2021-22946 Référence CVE CVE-2021-22947 https://www.cve.org/CVERecord?id=CVE-2021-22947 Référence CVE CVE-2021-23343 https://www.cve.org/CVERecord?id=CVE-2021-23343 Référence CVE CVE-2021-23382 https://www.cve.org/CVERecord?id=CVE-2021-23382 Référence CVE CVE-2021-27918 https://www.cve.org/CVERecord?id=CVE-2021-27918 Référence CVE CVE-2021-27919 https://www.cve.org/CVERecord?id=CVE-2021-27919 Référence CVE CVE-2021-29060 https://www.cve.org/CVERecord?id=CVE-2021-29060 Référence CVE CVE-2021-29425 https://www.cve.org/CVERecord?id=CVE-2021-29425 Référence CVE CVE-2021-29923 https://www.cve.org/CVERecord?id=CVE-2021-29923 Référence CVE CVE-2021-30560 https://www.cve.org/CVERecord?id=CVE-2021-30560 Référence CVE CVE-2021-31525 https://www.cve.org/CVERecord?id=CVE-2021-31525 Référence CVE CVE-2021-31566 https://www.cve.org/CVERecord?id=CVE-2021-31566 Référence CVE CVE-2021-33194 https://www.cve.org/CVERecord?id=

Official advisory ↗
CERT-FR · French · CERTFR-2022-AVI-591Multiples vulnérabilités dans les produits IBM

d?id=CVE-2021-20206 Référence CVE CVE-2021-20269 https://www.cve.org/CVERecord?id=CVE-2021-20269 Référence CVE CVE-2021-20321 https://www.cve.org/CVERecord?id=CVE-2021-20321 Référence CVE CVE-2021-20322 https://www.cve.org/CVERecord?id=CVE-2021-20322 Référence CVE CVE-2021-21781 https://www.cve.org/CVERecord?id=CVE-2021-21781 Référence CVE CVE-2021-25735 https://www.cve.org/CVERecord?id=CVE-2021-25735 Référence CVE CVE-2021-25736 https://www.cve.org/CVERecord?id=CVE-2021-25736 Référence CVE CVE-2021-25737 https://www.cve.org/CVERecord?id=CVE-2021-25737 Référence CVE CVE-2021-25741 https://www.cve.org/CVERecord?id=CVE-2021-25741 Référence CVE CVE-2021-27918 https://www.cve.org/CVERecord?id=CVE-2021-27918 Référence CVE CVE-2021-28950 https://www.cve.org/CVERecord?id=CVE-2021-28950 Référence CVE CVE-2021-28971 https://www.cve.org/CVERecord?id=CVE-2021-28971 Référence CVE CVE-2021-29650 https://www.cve.org/CVERecord?id=CVE-2021-29650 Référence CVE CVE-2021-30465 https://www.cve.org/CVERecord?id=CVE-2021-30465 Référence CVE CVE-2021-3121 https://www.cve.org/CVERecord?id=CVE-2021-3121 Référence CVE CVE-2021-31525 https://www.cve.org/CVERecord?id=CVE-2021-31525 Référence CVE CVE-2021-31916 https://www.cve.org/CVERecord?id=CVE-2021-31916 Référence CVE CVE-2021-33194 https://www.cve.org/CVERecord?id=CV

Official advisory ↗
JVN iPedia · Japanese · JVNDB-2021-004500Go における無限ループに関する脆弱性

Go には、無限ループに関する脆弱性が存在します。

Official advisory ↗
03

Patch and workaround

Operational remediation based on structured source evidence.

Status
?Patch availability is based on structured fixed-version fields and authoritative update references. If no fix is verified, check the vendor advisory before making a change.
Fix not verified
Affected
n/a
Fixed
No fixed version is explicitly recorded in the structured CVE data.
Action
No verified patch reference is present in the current structured sources. Check the vendor advisory before making a change.
Workaround
No verified workaround is recorded. If business-safe, reduce exposure to the affected interface and allow only trusted sources until authoritative guidance is available.
04

Evidence and provenance

Published 10 Mar 2021 · Last source change 3 Aug 2024, 21:33 UTC · CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')

CVE recordCVE.org · 5.1
CVSS sourceNIST NVD
EPSS source
?The date BlackTree first stored a score for this CVE from the daily FIRST EPSS feed.
FIRST · tracked since 2026-08-14
European sourceENISA EUVD · EUVD-2021-14641
Product sourceUnavailable
Remediation sourceCVE/CNA references
CWE sourceNIST NVD
NVD statusNVD modified after enrichment

Missing structured fields: affected product. Missing data is not evidence of low risk; review the primary advisory.

Material change intelligence

What changed after publication

View recent updates ↗

No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.

Material fields only · duplicate refreshes suppressed · history retained for the configured operational retention period
Technical terms and abbreviations used in this report
CVE
Common Vulnerabilities and Exposures: the public identifier for one disclosed vulnerability.
CVSS
Common Vulnerability Scoring System: a technical severity framework; it is not patching priority by itself.
EPSS
Exploit Prediction Scoring System: FIRST's estimate of the probability that exploitation activity will be observed in the next 30 days; it is a forecast, not confirmation.
CWE
Common Weakness Enumeration: the standard category describing the underlying software or hardware weakness.
CNA
CVE Numbering Authority: an organisation authorised to assign and publish CVE records.
CISA ADP
Cybersecurity and Infrastructure Security Agency Authorized Data Publisher: structured enrichment added to a CVE record.
NVD
National Vulnerability Database: NIST's enrichment service for CVE records.
CERT / CSIRT
A computer security incident response team that publishes warnings or coordinates incident response.
PoC
Proof of concept: public material that demonstrates or helps reproduce exploitation.
CSAF
Common Security Advisory Framework: a machine-readable format for security advisories.
LoTL
Living off the land: abuse of legitimate tools or system functions during an attack.
Free version - for non-commercial use only.CVE-2021-27918 · cve.blacktree.nl