NewsLab
Oct 28 05:05 UTC

Brotli vulnerability affects curl and Git (github.com)

37 points|by bmitch3020||14 comments|Read full story on github.com

Comments (14)

14 shown
  1. 1. bmitch3020||context
    CVE-2026-111497 is not limited to nodejs. The brotli decoder is also included in other projects, including curl[0] and git[1].

    [0] https://infosec.exchange/@harrysintonen/117489564359709891

    [1] https://infosec.exchange/@harrysintonen/117489801970908776

  2. 2. altairprime||context
    Elsewhere in this thread, they note that anyone decoding brotli responses is vulnerable, which would impact Apache/nginx conditionally; I can think of load balancer / proxy scenarios where that’s the case, as well as dynamic IP blocklisting as some use in-server, so duly noted for HN sysadmins.
  3. 3. Bender||context
    The nginx brotli module compresses outbound traffic. How would someone exploit brotli on nginx in this scenario? Is there PoC code that could be used against an nginx server that has the Brotli module enabled?
  4. 4. altairprime||context
    If you combine nginx brotli with nginx reverse proxy to a backend server that uses brotli-compressed responses, then you would have an opportunity for attack through this mechanism, assuming you could get your payload through both layers and back.
  5. 5. cowlevel||context
    Just compress your POST request payload with it. The endpoint doesn't even have to accept POST requests
  6. 6. altairprime||context
    Sure, that’s fine too
  7. 7. TFNA||context
    Brotli is packaged along with MuPDF source code, too, and built as part of the MuPDF package by default.
  8. 8. rasz||context
    >decode.c

    What was that meme? "No Way to Prevent This, Says Only x Where This Regularly Happens" and from Google no less. Rare case of Mozilla W demanding JPEG XL decoder not be in C.

  9. 9. scared_together||context
  10. 10. TacticalCoder||context
    > A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c)

    It sure sounds like lately it's not a great time to be a C lover with a deep hatred on Rust...

    And as a sidenote such exploits based on bugs in decoders is one of the main reason projects don't want to add support for every format under the sun (for example potential exploits has been invoked as a reason to not adopt jpeg-xl in a timely manner).

    But yeah: maybe, just maybe, that C afficionados could concede that a language making buffer overflows impossible is actually a good thing? Instead of resorting to logical fallacies which are basically: "There are exploits for any single language out there, hence every language is equally likely to have buffer overflows".

  11. 11. cowlevel||context
    We should demand them all to be written in WUFFS (not a joke)
  12. 12. cedws||context
    I don’t get why Anthropic hasn’t already vibe ported all of this critical C code to Rust. If they claim LLMs can autonomously do ‘good’ language ports like they did with Bun, there’s pretty much nothing better they could do for the world’s security posture than eliminate dangerous C code. Why even have these cyber programs and then not do the most obvious beneficial thing possible?
  13. 13. cookiengineer||context
    Remember yesterday, when all the top comments here claimed that "no real software is affected by this"? The same folks who wrote that the PHP RCE isn't real and downvoted everyone claiming otherwise?

    Where are all those folks now?

    For reference (the thread I am talking about): https://news.ycombinator.com/item?id=50219177

  14. 14. hulitu||context
    > Remember yesterday, when all the top comments here claimed that "no real software is affected by this"?

    There are a lot of Google employees on HN and their salaries depend on it.