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.
Problem types
CWE-392 Missing Report of Error Condition
Product status
Any version before 0.26.2
References
github.com/EVerest/everest-core/issues/1152
github.com/...ommit/253432ae7458ad0445f68f9d716086090c2be49c
github.com/EVerest/libocpp/compare/v0.26.1...v0.26.2
github.com/...ommit/fb391b4ff16a0a07150e5a8eebf0856fb6623cbe
github.com/EVerest/libocpp/pull/1052