Vulnerability Report: GO-2021-0347

standard library

On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB.

Affected Packages

  • Path
    Go Versions
    Symbols
  • before go1.16.15, from go1.17.0-0 before go1.17.8
    1 unexported affected symbols
    • regexp.Compile

Aliases

References

Credits

  • Juho Nurminen

Feedback

See anything missing or incorrect? Suggest an edit to this report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL