Advisory

GO-2023-1859

Also known as: GHSA-rm8v-mxj3-5rmq

Summary

Padding oracle vulnerability in github.com/lestrrat-go/jwx

Details

AES-CBC decryption is vulnerable to a timing attack which may permit an attacker to recover the plaintext of JWE data.

Severity

Not rated by the source.

Dates

Published
2023-06-22 16:36 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/lestrrat-go/jwx

Go · All systems

Affected

  • introduced 0, fixed 1.2.26 (semver)

Fixed versions

1.2.26

Fix

github.com/lestrrat-go/jwx/v2

Go · All systems

Affected

  • introduced 0, fixed 2.0.11-0.20230614080639-c8b6bec919a1 (semver)

Fixed versions

2.0.11-0.20230614080639-c8b6bec919a1

Fix

  • Fixed version 2.0.11-0.20230614080639-c8b6bec919a1
    go get github.com/lestrrat-go/jwx/[email protected]

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