Bug 2323735 (CVE-2024-51744)
Summary: | CVE-2024-51744 golang-jwt: Bad documentation of error handling in ParseWithClaims can lead to potentially dangerous situations in golang-jwt | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
Status: | NEW --- | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | aazores, alcohan, amctagga, anjoseph, aoconnor, bdettelb, bkabrda, bniver, brking, chazlett, ckandaga, cmah, danken, dhanak, doconnor, dsimansk, dymurray, eaguilar, ebaron, fdeutsch, flucifre, gkamathe, gmeno, gparvin, haoli, hkataria, ibolton, jaharrin, jburrell, jcammara, jcantril, jeder, jforrest, jkoehler, jmatthew, jmitchel, jmontleo, jneedle, jolong, jprabhak, jwendell, kegrant, kingland, koliveir, kshier, kverlaen, lball, lchilton, lphiri, lsturman, mabashia, matzew, mbenjamin, mhackett, mnovotny, ngough, njean, oramraz, owatkins, pahickey, pbraun, pgaikwad, phoracek, pierdipi, pjindal, pvasanth, rcernich, rguimara, rhaigner, rhuss, rjohnson, rojacob, sakbas, sdawley, sfeifer, sfroberg, shvarugh, simaishi, slucidi, smcdonal, smullick, sostapov, sseago, stcannon, stirabos, teagle, tfister, thason, thavo, twalsh, vereddy, veshanka, whayutin, wtam, yguenane |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
A flaw was found in golang-jwt package. 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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
OSIDB Bzimport
2024-11-04 22:01:33 UTC
|