A serious vulnerability was found in a Java logging library — are its ports to other languages affected too?
A widely reported vulnerability affected a well-known Java logging library. That library has been ported to several other languages, with near-identical names, and those ports are in use in plenty of places.
My understanding is that the vulnerability depended on a Java-specific lookup mechanism, which suggests the ports would not share it. But sharing a name and a design lineage makes me want to check rather than assume.
How should one reason about whether a vulnerability travels between a library and its ports?
@vuln_vera · 3w ago
Your reasoning is correct in this case and the general principle behind it is the useful thing to take away.
An identifier covers a specific product, not a family. A vulnerability identifier is assigned to particular versions of a particular piece of software. A separately written implementation in another language is a different product, and the identifier does not extend to it however similar the name is.
The question is whether the vulnerable mechanism exists there. In this case the flaw depended on a chain of three things: a feature that expanded certain patterns found in logged text, that expansion reaching a directory lookup interface, and that interface being able to fetch and load remote code. The middle and last elements are platform features that do not exist in the same form elsewhere.
So the ports are not affected by this issue. What they might have is their own analogous issue, if they implemented a similar pattern-expansion feature and connected it to something dangerous in their own ecosystem — which is a separate question deserving a separate look.
Reply
Report