Vulnerability
CVE-2024-51744
golang-jwt is a Go implementation of JSON Web Tokens. Unclear documentation of the error behavior in `ParseWithClaims` can lead to situation where users are potentially not checking errors in the way they should be. Especially, if a token is both expired and invalid, the errors returned by `ParseWithClaims` return both error codes. If users only check for the `jwt.ErrTokenExpired ` using `error.Is`, they will ignore the embedded `jwt.ErrTokenSignatureInvalid` and thus potentially accept invalid tokens. A fix has been back-ported with the error handling logic from the `v5` branch to the `v4` branch. In this logic, the `ParseWithClaims` function will immediately return in "dangerous" situations (e.g., an invalid signature), limiting the combined errors only to situations where the signature is valid, but further validation failed (e.g., if the signature is valid, but is expired AND has the wrong audience). This fix is part of the 4.5.1 release. We are aware that this changes the behaviour of an established function and is not 100 % backwards compatible, so updating to 4.5.1 might break your code. In case you cannot update to 4.5.0, please make sure that you are properly checking for all errors ("dangerous" ones first), so that you are not running in the case detailed above.
831 advisories report this vulnerability, across 10 ecosystems.
Advisories
-
ALAS2023-2025-816
Amazon Linux 2023 - ALAS2023-2025-816: Medium priority package update for runfinch-finch
-
ALAS2023-2025-834
Amazon Linux 2023 - ALAS2023-2025-834: Important priority package update for runfinch-finch
-
ALAS2023-2025-852
Amazon Linux 2023 - ALAS2023-2025-852: Low priority package update for docker
-
AZL-52171
CVE-2024-51744 affecting package coredns for versions less than 1.11.4-1
-
AZL-52174
CVE-2024-51744 affecting package azcopy for versions less than 10.25.1-4
-
AZL-52180
CVE-2024-51744 affecting package nmi 1.8.17-6
-
AZL-52183
CVE-2024-51744 affecting package cert-manager for versions less than 1.12.15-1
-
AZL-52186
CVE-2024-51744 affecting package flannel for versions less than 0.24.2-13
-
AZL-52189
CVE-2024-51744 affecting package packer for versions less than 1.9.5-9
-
AZL-52192
CVE-2024-51744 affecting package influxdb for versions less than 2.7.5-4
-
AZL-52195
CVE-2024-51744 affecting package application-gateway-kubernetes-ingress for versions less than 1.7.7-1
-
AZL-52198
CVE-2024-51744 affecting package dcos-cli for versions less than 1.2.0-18
-
AZL-52201
CVE-2024-51744 affecting package keda for versions less than 2.14.1-7
-
AZL-52204
CVE-2024-51744 affecting package kubernetes for versions less than 1.30.10-5
-
AZL-52207
CVE-2024-51744 affecting package telegraf for versions less than 1.31.0-7
-
AZL-52210
CVE-2024-51744 affecting package prometheus for versions less than 2.45.4-12
-
AZL-52213
CVE-2024-51744 affecting package jx for versions less than 3.10.182-1
-
AZL-52216
CVE-2024-51744 affecting package etcd for versions less than 3.5.18-1
-
AZL-52219
CVE-2024-51744 affecting package moby-engine for versions less than 25.0.3-13
-
AZL-52221
CVE-2024-51744 affecting package moby-engine for versions less than 24.0.9-17
-
AZL-52224
CVE-2024-51744 affecting package influxdb for versions less than 2.6.1-22
-
AZL-52227
CVE-2024-51744 affecting package kube-vip-cloud-provider for versions less than 0.0.2-22
-
AZL-52230
CVE-2024-51744 affecting package coredns for versions less than 1.11.1-18
-
AZL-52233
CVE-2024-51744 affecting package packer for versions less than 1.9.5-12
-
AZL-52236
CVE-2024-51744 affecting package etcd for versions less than 3.5.21-1
-
AZL-52239
CVE-2024-51744 affecting package keda for versions less than 2.4.0-29
-
AZL-52242
CVE-2024-51744 affecting package rook for versions less than 1.6.2-26
-
AZL-52248
CVE-2024-51744 affecting package application-gateway-kubernetes-ingress for versions less than 1.4.0-25
-
AZL-52251
CVE-2024-51744 affecting package cf-cli for versions less than 8.4.0-24
-
AZL-52254
CVE-2024-51744 affecting package jx for versions less than 3.2.236-21
-
AZL-52257
CVE-2024-51744 affecting package cert-manager for versions less than 1.11.2-22
-
AZL-52260
CVE-2024-51744 affecting package azcopy for versions less than 10.25.1-5
-
AZL-52265
CVE-2024-51744 affecting package dcos-cli for versions less than 1.2.0-21
-
AZL-52266
CVE-2024-51744 affecting package prometheus for versions less than 2.37.9-4
-
AZL-52272
CVE-2024-51744 affecting package kubevirt for versions less than 0.59.0-27
-
AZL-52275
CVE-2024-51744 affecting package kubernetes for versions less than 1.28.4-17
-
AZL-52278
CVE-2024-51744 affecting package telegraf for versions less than 1.29.4-15
- CGA-223w-2wm9-5crv
- CGA-233v-948r-7cvp
- CGA-2355-68gj-v823
- CGA-2366-m9gw-g8mw
- CGA-2498-w4c2-f9w5
- CGA-2595-fg54-7rmp
- CGA-26pr-wp49-v8h3
- CGA-283g-32g4-jc2q
- CGA-28x8-q8g6-vfgx
- CGA-28xq-6w2x-66jj
- CGA-294q-87f3-87wm
- CGA-29gg-7chw-2r6q
- CGA-29mx-4ph9-67w2
- CGA-2c99-3w9w-v6jp
- CGA-2cq8-x5r6-78q4
- CGA-2cwh-8pcj-c6q2
- CGA-2fqx-mq89-4q3p
- CGA-2g73-q7c7-j8xc
- CGA-2gc9-j67g-xp5j
- CGA-2gcc-qph6-3hc8
- CGA-2gjf-3fj7-3wf5
- CGA-2grg-qx8v-5p4g
- CGA-2hp6-wj77-wc3f
- CGA-2m99-vj5q-g3rp
- CGA-2mj7-w5f5-c2mg
- CGA-2q24-gxxj-m3rh
- CGA-2q2x-3j4p-jvgr
- CGA-2r8c-9pc4-q2mv
- CGA-2vfc-4x2x-hmf4
- CGA-2vgc-8q4r-gc83
- CGA-2vj7-m387-j4jh
- CGA-2xqj-g969-gg8q
- CGA-3274-vq3r-wxcx
- CGA-32wh-649q-8q6f
- CGA-334j-p32g-cr57
- CGA-34q7-jc23-p6gx
- CGA-365x-7h4g-gwhx
- CGA-369g-p9qj-4q5h
- CGA-36qq-crw7-g4hr
- CGA-38cm-6phf-4xr7
- CGA-397c-h3rq-mjm6
- CGA-39v3-jj3q-j355
- CGA-39xc-6jfh-8pcr
- CGA-3cqg-vrr5-hmg5
- CGA-3cwr-7xmw-53pv
- CGA-3gfv-gmr8-6j7v
- CGA-3gm9-998h-c93g
- CGA-3h6r-x36c-v299
- CGA-3hc8-q4qr-rrrr
- CGA-3hxg-c6c5-v84c
- CGA-3j4c-4r5m-469f
- CGA-3jg5-m32j-42h6
- CGA-3jph-qf7g-pf3r
- CGA-3m3m-7gw3-5qph
- CGA-3php-2whf-rgxj
- CGA-3pvq-784w-fj3v
- CGA-3q9r-g8j7-rjjc
- CGA-3qcr-cw23-m4g4
- CGA-3qq7-52h7-jc2w
- CGA-3r4w-vqxf-7mw8
- CGA-3vcp-6qxg-554v
- CGA-3vhq-xfww-h9qf
- CGA-3w6f-989v-cpfg
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2024-51744.