ExLisper Site
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Eager Eagle@lemmy.world to Selfhosted@lemmy.worldEnglish ·
edit-2
2 months ago

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

thehackernews.com

external-link
message-square
14
link
fedilink
110
external-link

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

thehackernews.com

Eager Eagle@lemmy.world to Selfhosted@lemmy.worldEnglish ·
edit-2
2 months ago
message-square
14
link
fedilink
NGINX Rift CVE-2026-42945 scores 9.2 after 18 years, enabling unauthenticated RCE or DoS via crafted HTTP requests.

Update your nginx instances

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

  • Affected an non-affected versions https://nginx.org/en/security_advisories.html
  • CVE record https://www.cve.org/CVERecord?id=CVE-2026-42945
  • CVE details https://nvd.nist.gov/vuln/detail/CVE-2026-42945
  • PoC https://github.com/DepthFirstDisclosures/Nginx-Rift

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

alert-triangle
You must log in or # to comment.
  • K3CAN@lemmy.radio
    link
    fedilink
    English
    arrow-up
    11
    ·
    2 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.

  • skankhunt42@lemmy.ca
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 months ago

    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.

    • GreenKnight23@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      2 months ago

      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?

      • skankhunt42@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 months ago

        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?

        • GreenKnight23@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

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

        • JaddedFauceet@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 months ago

          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

        • Pinhead77@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 months ago

          You can use pnpm instead of npm. pnpm has a “Delay dependency updates” feature where you can install package versions that are x old only.
          See https://pnpm.io/supply-chain-security#delay-dependency-updates

          Edit: I just found out, that this can also be specified in npm and yarn: https://gist.github.com/mcollina/b294a6c39ee700d24073c0e5a4e93104

    • motruck@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

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

      • motruck@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        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.

  • Nighed@feddit.uk
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 months ago

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

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

    • Eager Eagle@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      good to know!

  • cheesemoo@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 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.

  • Lemmchen@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    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

    • forbiddenlake@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      Probably yeah https://security-tracker.debian.org/tracker/CVE-2026-42945

Selfhosted@lemmy.world

selfhosted@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don’t duplicate the full text of your blog or readme if you’re providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

  • selfh.st Newsletter and index of selfhosted software and apps
  • awesome-selfhosted software
  • awesome-sysadmin resources
  • Self-Hosted Podcast from Jupiter Broadcasting

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 313 users / day
  • 1.59K users / week
  • 5.22K users / month
  • 10.1K users / 6 months
  • 1 local subscriber
  • 60.9K subscribers
  • 908 Posts
  • 11.9K Comments
  • Modlog
  • mods:
  • Ruud@lemmy.world
  • Loki@lemmy.world
  • CannaVet@lemmy.world
  • devve@lemmy.world
  • ayyy@sh.itjust.works
  • curbstickle_lw@lemmy.world
  • BE: 0.19.16
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org