JsonWebToken open source library has a significant security flaw


The popular open source (opens in new tab) project JsonWebToken was carrying a high-severity vulnerability that allowed threat actors to execute malicious code on affected endpoints, remotely.
A report from Palo Alto Networks’ cybersecurity arm, Unit 42 outlined how the flaw would allow the server to verify a maliciously crafted JSON web token (JWT) request, thus granting the attackers remote code execution (RCE) abilities.
That, in turn, would allow threat actors to access sensitive information (including identity data), steal, or modify it.
Patch is available
The flaw is now tracked as CVE-2022-23529, and has been given a severity rate of 7.6/10, marking it as “high-severity”, and not “critical”.
One of the reasons it’s not been given a higher score is due to the fact that the attackers would first need to compromise the secret management process between an application and a JsonWebToken server.
Anyone using JsonWebToken package version 8.5.1 or an earlier version is advised to update the JsonWebToken package to version 9.0.0, which comes with a patch for the flaw.
JsonWebToken is an open source JavaScript package allowing users to verify and/or sign JWTs.
The tokens are usually used for authorization and authentication, the researchers said, adding that it was developed and maintained by Auth0.
At press time, the package had more than nine million weekly downloads and more than 20,000 dependents. “This package plays a big role in the authentication and authorization functionality for many applications,” the researchers said.
The vulnerability was first discovered in mid-July 2022, with Unit 42’s researchers reporting their findings to Auth0 immediately. The authors acknowledged the vulnerability a few weeks later (in August), and finally released a patch on December 21, 2022.
Auth0 fixed the issue by adding more checks to the secretOrPublicKey parameter, which prevents it from parsing malicious objects.
Via: BleepingComputer (opens in new tab)
Audio player loading… The popular open source (opens in new tab) project JsonWebToken was carrying a high-severity vulnerability that allowed threat actors to execute malicious code on affected endpoints, remotely. A report from Palo Alto Networks’ cybersecurity arm, Unit 42 outlined how the flaw would allow the server to verify…
Recent Posts
- DJI’s drone-in-a-box can now launch from moving vehicles
- We might have our first look at the Samsung Galaxy Z Flip 7, but I can’t tell the difference from the Z Flip 6
- AMD’s Radeon 9070 and 9070 XT are gunning for NVIDIA’s mid-range throne
- The Rings of Power season 3 adds Stranger Things’ Jamie Campbell Bower and Heartstopper’s Eddie Marsan to its cast, and I think they’re perfect for two specific roles
- The iPhone 16e doesn’t have MagSafe, but apparently Apple thinks you didn’t want it anyway
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010