Update your nginx instances

cross-posted from: https://lemmy.world/post/46851448


CVE - Common Vulnerabilities and Exposures system
RCE - Remote Code Execution
PoC - Proof of Concept

all 15 comments

sorted by: hot top controversial new old
[–] 12 points 4 months ago

Seems to be specific to rewrites using an un-named capture.

grep -rnE "\$[0-9.*].*\?" /etc/ngnix

should show if you have any potentially vulnerable directives in your config.

  • source
  • [–] 11 points 4 months ago (7 children)

    It's days like this where I'm happy I'm unemployed. I have a group chat with a few friends and they're pushing out patches and it's a bit of a rush.

    All my publicly accessible servers update every 6 hours and reboot after whenever they need to. It's rare I need to step in and fix something. I checked a few hours ago and I'm not at risk.

  • source
  • hideshow 7 child comments
  • [–] 11 points 4 months ago (4 children)

    All my publicly accessible servers update every 6 hours and reboot after whenever they need to. It's rare I need to step in and fix something. I checked a few hours ago and I'm not at risk.

    not the flex you think it is.

    didn't npm have a worm problem a few days ago?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 5 points 4 months ago (3 children)

    Yep. I wasn't affected thankfully. Didn't realise I was flexing, sorry. Just happy most of my stack is automated and it's quite low maintenance at this point.

    Where do I draw the line then? Serious question. If updating every couple hours is bad, then what's safe?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 7 points 4 months ago (1 child)

    Apparently not a massive deal? (I don't know, just linking someone who seems to have a clue)

    https://cyberplace.social/@GossiTheDog/116578019563133410

  • source
  • hideshow 1 child comment
  • [–] 6 points 4 months ago

    For anyone else using SWAG, it looks like a fix is on its way but not available yet. This SWAG issue points to an upstream Alpine package dependency that needs to be updated first. Looking at the source, they just recently committed backported patches, so presumably a new version will be released soon; then the SWAG image can be updated.

  • source
  • [–] 3 points 4 months ago* (1 child)

    I have an old Debian 11 "bullseye" installation running on one of my servers. It's stuck at nginx 1.18.0, but it should theoretically still be covered by Debian 11 LTS security updates, right? https://wiki.debian.org/LTS/Using
    nginx/oldoldstable-security,now 1.18.0-6.1+deb11u5

  • source
  • hideshow 1 child comment
  • [–] [B] 2 points 4 months ago* (last edited 4 months ago)

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

    Fewer Letters More Letters
    HTTP Hypertext Transfer Protocol, the Web
    LTS Long Term Support software version
    nginx Popular HTTP server

    2 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.

    [Thread #290 for this comm, first seen 15th May 2026, 02:30] [FAQ] [Full list] [Contact] [Source code]

  • source