CVE & CISA-KEV Catalog

CVE-2022-23541

MEDIUM
5.0
CVSS v3
NVD

Description

jsonwebtoken is an implementation of JSON Web Tokens. Versions `<= 8.5.1` of `jsonwebtoken` library can be misconfigured so that passing a poorly implemented key retrieval function referring to the `secretOrPublicKey` argument from the readme link will result in incorrect verification of tokens. There is a possibility of using a different algorithm and key combination in verification, other than the one that was used to sign the tokens. Specifically, tokens signed with an asymmetric public key could be verified with a symmetric HS256 algorithm. This can lead to successful validation of forged tokens. If your application is supporting usage of both symmetric key and asymmetric key in jwt.verify() implementation with the same key retrieval function. This issue has been patched, please update to version 9.0.0.

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Exploit Intelligence

0.77%probability of exploitation in 30 days
54thpercentile

Moderate risk: more likely to be exploited than 54% of all known CVEs.

References

Third-Party Advisory1
Release Notes1
Other references1

Related Vulnerabilities

Other CWE-287 (Improper Authentication) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-7593Critical9.8100%KEV-
CVE-2023-35082Critical9.8100%KEV + RansomFix
CVE-2023-35078Critical9.8100%KEV + RansomFix
CVE-2017-7921Critical9.8100%KEV-
CVE-2021-33044Critical9.8100%KEVFix
CVE-2023-46805High8.2100%KEV + Ransom-

Common questions

How do I fix CVE-2022-23541?

No published fix for CVE-2022-23541 has been found yet. Check the linked vendor advisories for guidance as it becomes available.

Is CVE-2022-23541 being actively exploited?

Not that we know of. CVE-2022-23541 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.77% is the estimated probability that it will be exploited in the next 30 days. That is higher than 54% of all scored CVEs.

How severe is CVE-2022-23541?

CVE-2022-23541 has a CVSS v3 base score of 5.0, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

Embed a live status badge for CVE-2022-23541
CVE-2022-23541 severity badge

Markdown

[![CVE-2022-23541](https://tridentstack.com/cve/badge/CVE-2022-23541.svg)](https://tridentstack.com/cve/CVE-2022-23541)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-23541"><img src="https://tridentstack.com/cve/badge/CVE-2022-23541.svg" alt="CVE-2022-23541"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Run a free CVE scan on your fleetStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.