So another lesson had been relearned from asn.1. I'm proud of working in this industry again! Next we will figure out to always put versions into the data too
(edit on where the OIDs can be, and added another CVE)
https://github.com/digitalbazaar/forge/commit/3f0b49a0573ef1...
>Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code is lenient in checking the digest algorithm structure
That's on brand for the javascript world, yes.
With asn1 being a can of worms, at least it's a can of worms with a reputation, unlike this nice magic trick.
Disclaimer: there exists a PR filled under my name into an asn.1 parser that fixes a bug, which is not merged since October 2022.