Advisory

GO-2021-0238

Also known as: BIT-golang-2021-33194, CVE-2021-33194, GHSA-83g2-8m93-v3w7

Summary

Infinite loop when parsing inputs in golang.org/x/net/html

Details

An attacker can craft an input to ParseFragment that causes it to enter an infinite loop and never return.

Severity

Not rated by the source.

Dates

Published
2022-02-17 17:33 UTC
Modified
2026-02-04 04:07 UTC

Affected packages and fixes

golang.org/x/net

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20210520170846-37e1c6afe023 (semver)

Fixed versions

0.0.0-20210520170846-37e1c6afe023

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences