VDB

CVE-2023-49290

CVE-2023-49290 PUBLISHED CVSS 9.300000190734863 CRITICAL

lestrrat-go/jwx's malicious parameters in JWE can cause a DOS

Record from NVD · Published December 4, 2023

github.com/lestrrat-go/jwx/v2/jwe is fixed in 2.0.18 (Go Modules)

lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE's algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit `64f2a229b` which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.

EPSS 0.73% · 55.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/lestrrat-go/jwx/v2/jweGo Modules2.0.18
github.com/lestrrat-go/jwx/jweGo Modulesv1.2.27, 1.2.27
github.com/lestrrat-go/jwxGo Modules1.2.27
github.com/lestrrat-go/jwx/v2Go Modules2.0.18
istio-pilot-discovery-1.20Chainguard1.20.2-r2
external-secrets-0.7Chainguard0.7.1-r8
istio-pilot-discovery-1.18Chainguard1.18.7-r1
istio-pilot-discovery-1.18Wolfi1.18.7-r1
istio-pilot-agent-fips-1.19Chainguard1.19.6-r1
tekton-chainsChainguard0.19.0-r6
falcoWolfi0.37.1-r0
istio-pilot-agent-1.19Wolfi1.19.6-r1

17 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS Score
0.73%
55.2th percentile

Affected products

VendorProductVersions
lestrrat-gojwx0, 2.0.0

Timeline

  • Dec 4, 2023 CVE Published
  • Dec 5, 2023 EPSS Score (30 in total, the first dated here)
  • Jan 27, 2026 Security Advisory
  • Jul 31, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-49290
vulnetix vdb fixes CVE-2023-49290

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-49290/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›