CVE-2021-33195

golang: net: lookup functions may return invalid host names

Published Aug 2, 2021 CVSS 3.1 · 7.3 High EPSS 3.2% KEV · Not listed
Description
Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-19908 Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.
History

No history.

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 11:42 PM
Reserved
May 19, 2021, 12:00 AM
Status
Modified
Published
Aug 2, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:54 AM
Severity
Moderate
Public date
May 18, 2021, 12:00 AM