Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world
selfhosted·SelfhostedbyEager Eagle

18-Year-Old NGINX Rewrite Module Flaw Enables Unauthenticated RCE

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

18-Year-Old NGINX Rewrite Module Flaw Enables Unauthenticated RCEhttps://thehackernews.com/2026/05/18-year-old-nginx-rewrite-module-flaw.htmlOpen linkView original on lemmy.world
118

15 replies

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.

12
lemmy.ca

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.

11
lemmy.world

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?

11
lemmy.ca

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?

5

for corporate services we do every 30 days. which is standard. emergency patches get direct support and resolved quickly.

3

idk, also it is not about the frequency you update, it is usually about how long has it been since package is published to the internet

see concept of min release age https://pnpm.io/blog/releases/10.16

i wonder if other package manager have similar thing or not

2
motruckreply
lemmy.zip

Your friends should do a PoC before they rush to fix random bugs that ostensibly have a high severity.

2

You should tell that on your group chat. Motruck says you need to slow down and stop jumping at high severity but low exploitabile trash.

2

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.

6
feddit.org

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

3

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

Fewer LettersMore Letters
HTTPHypertext Transfer Protocol, the Web
LTSLong Term Support software version
nginxPopular 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]

2

You reached the end