GO-2022-0193

Source
https://pkg.go.dev/vuln/GO-2022-0193
Import Source
https://vuln.go.dev/ID/GO-2022-0193.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-0193
Aliases
Published
2022-07-06T18:14:54Z
Modified
2024-05-20T16:03:47Z
Summary
Panic on unconsidered isindex and template combination in golang.org/x/net/html
Details

The Parse function can panic on some invalid inputs.

For example, the Parse function panics on the input "<template><tBody><isindex/action=0>".

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0193"
}
References
Credits
    • @tr3ee

Affected packages

Go / golang.org/x/net

Package

Name
golang.org/x/net
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/net

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20180921000356-2f5d2388922f

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/net/html",
            "symbols": [
                "Parse",
                "ParseFragment",
                "inBodyIM"
            ]
        }
    ]
}