USN-7125-1: RapidJSON vulnerability

Publication date

25 November 2024

Overview

RapidJSON could be made to crash or run programs as your login if it opened a specially crafted file.


Packages

  • rapidjson - A fast JSON parser/generator for C++

Details

It was discovered that RapidJSON incorrectly parsed numbers written in
scientific notation, leading to an integer underflow. An attacker could
possibly use this issue to cause a denial of service, or execute arbitrary
code.

It was discovered that RapidJSON incorrectly parsed numbers written in
scientific notation, leading to an integer underflow. An attacker could
possibly use this issue to cause a denial of service, or execute arbitrary
code.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
24.10 oracular rapidjson-dev –  1.1.0+dfsg2-7.3ubuntu0.1
24.04 noble rapidjson-dev –  1.1.0+dfsg2-7.2ubuntu0.1~esm1  
22.04 jammy rapidjson-dev –  1.1.0+dfsg2-7ubuntu0.1~esm1  
20.04 focal rapidjson-dev –  1.1.0+dfsg2-5ubuntu1+esm1  
18.04 bionic rapidjson-dev –  1.1.0+dfsg2-3ubuntu0.1~esm1  
16.04 xenial rapidjson-dev –  0.12~git20141031-3ubuntu0.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›