Advisory

GO-2020-0049

Also known as: CVE-2020-36564, GHSA-5x84-q523-vvwr

Summary

Improper input validation in github.com/justinas/nosurf

Details

Due to improper validation of caller input, validation is silently disabled if the provided expected token is malformed, causing any user supplied token to be considered valid.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/justinas/nosurf

Go · All systems

Affected

  • introduced 0, fixed 1.1.1 (semver)

Fixed versions

1.1.1

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