Timing Attack The advisory has been revoked - it doesn't affect any version of package github.com/lestrrat-go/jwx/jwe  (opens in a new tab)


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMLESTRRATGOJWXJWE-5710361
  • published15 Jun 2023
  • disclosed14 Jun 2023
  • creditshogo82148

Introduced: 14 Jun 2023

CVE NOT AVAILABLE CWE-208  (opens in a new tab)

How to fix?

Upgrade github.com/lestrrat-go/jwx/jwe to version 1.2.26 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Timing Attack when decrypting AES-CBC encrypted JWE may return an error "failed to generate plaintext from decrypted blocks: invalid padding". In addition, the time for removing padding depends on the length of the padding. Both allow the execution of this vulnerability.