Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. agnai
  4. ›
  5. CVE-2024-47170

CVE-2024-47170: Agnai File Disclosure Vulnerability: JSON via Path Traversal

September 26, 2024

A vulnerability has been discovered in Agnai that permits attackers to read arbitrary JSON files at attacker-chosen locations on the server. This issue can lead to unauthorized access to sensitive information and exposure of confidential configuration files. This only affects installations with JSON_STORAGE enabled which is intended to local/self-hosting only.

References

  • github.com/advisories/GHSA-h355-hm5h-cm8h
  • github.com/agnaistic/agnai
  • github.com/agnaistic/agnai/security/advisories/GHSA-h355-hm5h-cm8h
  • nvd.nist.gov/vuln/detail/CVE-2024-47170

Code Behaviors & Features

Detect and mitigate CVE-2024-47170 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.330

Fixed versions

  • 1.0.330

Solution

Upgrade to version 1.0.330 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-35: Path Traversal: '.../...//'

Source file

npm/agnai/CVE-2024-47170.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:38 +0000.