CVE-2026-44905
Beschrijving NL
Vanetza is een open-source implementatie van de ETSI C-ITS protocol suite. In 26.02 en eerder werd een denial-of-service-kwetsbaarheid geïdentificeerd in de cryptografische verificatiepijplijn van Vanetza. Bij het verwerken van inkomende V2X-berichten accepteert de ASN.1-decoder de structuur als syntactisch geldig. Dit onthult echter een op logica gebaseerde protocolfout waarbij semantische beperkingen op specifieke velden alleen strikt worden gehandhaafd tijdens het opnieuw coderen van OER. Specifiek, als een vervaardigd pakket een certificaat bevat waarbij het subtype Psid (Provider Service Identifier) subtype subtypebeperkingen schendt (bijv. Buiten bereik of ongeldige keuzevariant), wordt het geaccepteerd tijdens de eerste parsering, waarbij subtypebeperkingen niet worden afgedwongen. Later, wanneer StraightVerifyService probeert een berichthash te berekenen voor cryptografische verificatie, moet het het ondertekeningscertificaat opnieuw coderen. De onderliggende ASN.1 wrapper (asn1c_wrapper.cpp) detecteert de semantische overtreding tijdens het coderen en verhoogt een std::runtime_error. Deze uitzondering is niet gevangen in het coderingspad en verspreidt zich naar std::terminate, wat resulteert in onmiddellijke procesbeëindiging. Dit beveiligingslek is opgelost met commit e1a2e2709210d309458c3d77f98d50dec26c0df0.
Origineel (Engels) tonen
Vanetza is an open-source implementation of the ETSI C-ITS protocol suite. In 26.02 and earlier, a denial-of-service vulnerability was identified in the cryptographic verification pipeline of Vanetza. When processing incoming V2X messages, the ASN.1 decoder accepts the structure as syntactically valid. However, this reveals a logic-based protocol failure where semantic constraints on specific fields are only strictly enforced during OER re-encoding. Specifically, if a crafted packet contains a certificate where the Psid (Provider Service Identifier) sub-type violates subtype constraints (e.g., out-of-range or invalid CHOICE variant), it is accepted during initial parsing, where subtype constraints are not enforced. Later, when StraightVerifyService attempts to calculate a message hash for cryptographic verification, it must re-encode the signing certificate. The underlying ASN.1 wrapper (asn1c_wrapper.cpp) detects the semantic violation during encoding and raises a std::runtime_error. This exception is not caught within the encoding path and propagates to std::terminate, resulting in immediate process termination. This vulnerability is fixed with commit e1a2e2709210d309458c3d77f98d50dec26c0df0.