Incorrect Permission Assignment for Critical Resource Affecting nodejs:20/nodejs-nodemon package, versions <0:3.0.1-1.module+el9.3.0.z+20478+84a9f781


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-NODEJS-7835830
  • published27 Aug 2024
  • disclosed8 Jul 2024

Introduced: 8 Jul 2024

CVE-2024-36137  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade RHEL:9 nodejs:20/nodejs-nodemon to version 0:3.0.1-1.module+el9.3.0.z+20478+84a9f781 or higher.
This issue was patched in RHSA-2024:5815.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs-nodemon package and not the nodejs:20/nodejs-nodemon package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used.

Node.js Permission Model do not operate on file descriptors, however, operations such as fs.fchown or fs.fchmod can use a "read-only" file descriptor to change the owner and permissions of a file.

CVSS Scores

version 3.1