Description
Boost.JSON 1.84.0 through 1.92.0 contains an information exposure vulnerability because parser_for reset() does not reset nested parse_into handlers, retaining state across documents. Attackers controlling an abandoned or subsequent document parsed by a reused parser_for can cause partial string data from one document to appear in another's result.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Boost Boost.JSON
Default version status: unaffected
1.84.0 to ≤ 1.92.0affected
pkg:github/boostorg/jsonReferences
- https://github.com/boostorg/json/pull/1226 ↗
- https://github.com/boostorg/json/blob/boost-1.92.0/include/boost/json/detail/parse_into.hpp#L350-L387 ↗
- https://github.com/boostorg/json/blob/boost-1.92.0/include/boost/json/detail/parse_into.hpp#L1868-L1871 ↗
- https://www.vulncheck.com/advisories/boost-json-1.84.0-through-1.92.0-information-exposure-via-parser-for-reset ↗