Vulnerability · Published Sep 26, 2024 · Assigned by GitHub_M
CVE-2024-47170Agnai File Disclosure Vulnerability: JSON via Path Traversal
Medium 4.3
In plain English
A medium-severity security flaw in agnai from agnaistic. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Agnai is an artificial-intelligence-agnostic multi-user, mult-bot roleplaying chat system. A vulnerability in versions prior to 1.0.330 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. Version 1.0.330 fixes this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | agnai | 1.0.330 | GHSA-h355-hm5h-cm8h |
Affected products (as reported)
Weakness: CWE-35 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/agnaistic/agnai/security/advisories/GHSA-h355-hm5h-cm8h x_refsource_CONFIRM