CVE-2022-29379
Linux Alpine vulnerability analysis and mitigation

Overview

Nginx NJS v0.7.3 was discovered to contain a stack overflow vulnerability in the function njsdefaultmoduleloader at /src/njs/src/njsmodule.c. This vulnerability has been disputed by multiple third parties, as the behavior was only found in unreleased development code that was not part of the 0.7.2, 0.7.3, or 0.7.4 release (NVD).

Technical details

The vulnerability was identified as a stack-based buffer overflow in the njsdefaultmodule_loader function. The issue was caused by a typo while calculating module path length, where the length variable was being incorrectly assigned instead of incremented (GitHub Commit). The vulnerability received a CVSS v3.1 Base Score of 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, the vulnerability could potentially lead to stack buffer overflow, which might allow attackers to execute arbitrary code or cause denial of service. However, since the vulnerability was only present in unreleased development code, the actual impact on production systems is minimal (NVD).

Mitigation and workarounds

The issue was fixed in commit ab1702c7af9959366a5ddc4a75b4357d4e9ebdc1, which corrected the typo in the module path length calculation. Since the vulnerability never made it to a release version, no specific mitigation is required for production systems (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Linux Alpine vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • DockerDocker
  • go
NoYesDec 02, 2025
CVE-2025-64460HIGH7.5
  • DjangoDjango
  • python-django
NoYesDec 02, 2025
CVE-2025-61727MEDIUM6.5
  • DockerDocker
  • golang-1.24
NoYesDec 03, 2025
CVE-2025-65105MEDIUM4.5
  • Linux DebianLinux Debian
  • github.com/apptainer/apptainer
NoYesDec 02, 2025
CVE-2025-64750MEDIUM4.5
  • Linux AlpineLinux Alpine
  • github.com/sylabs/singularity/v4
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management