Description
The OCPP implementation in libocpp before 0.26.2 allows a denial of service (EVerest crash) via JSON input larger than 255 characters, because a CiString<255> object is created with StringTooLarge set to Throw.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
EVerest libocpp
Default version status: unaffected
0 to < 0.26.2affected
References
- https://github.com/EVerest/everest-core/issues/1152 ↗
- https://github.com/EVerest/everest-core/commit/253432ae7458ad0445f68f9d716086090c2be49c ↗
- https://github.com/EVerest/libocpp/compare/v0.26.1...v0.26.2 ↗
- https://github.com/EVerest/libocpp/commit/fb391b4ff16a0a07150e5a8eebf0856fb6623cbe ↗
- https://github.com/EVerest/libocpp/pull/1052 ↗