You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NULL pointer dereference in AMF XML parser (metadata tag without type attribute) #5117
An attempt is made to read the type attribute of the <metadata> tag, at AMF.cpp:189. The PoC contains a metadata tag without a type attribute.
get_attribute() returns NULL, and thus the creation of the std::string m_value[0] crashes.
Impact
Denial of Service.
Proposed mitigation
Check for NULL before trying to construct the std::string, set a default value or reject the tag. Similar checks are already in place at line 163 and others.
Activity
eldstal commentedon Jan 25, 2022
This vulnerability has been assigned CVE-2021-45846.
fix NULL pointer dereference in AMF XML parser
supermerill commentedon Feb 1, 2022
note that patch should also be applied to prusaslicer @bubnikv
fix NULL pointer dereference in AMF XML parser