{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-47170",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-09-19T22:32:11.961Z",
        "datePublished": "2024-09-26T17:16:21.950Z",
        "dateUpdated": "2024-09-26T17:16:21.950Z"
    },
    "containers": {
        "cna": {
            "title": "Agnai File Disclosure Vulnerability: JSON via Path Traversal",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-35",
                            "lang": "en",
                            "description": "CWE-35: Path Traversal: '.../...//'",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/agnaistic/agnai/security/advisories/GHSA-h355-hm5h-cm8h",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/agnaistic/agnai/security/advisories/GHSA-h355-hm5h-cm8h"
                }
            ],
            "affected": [
                {
                    "vendor": "agnaistic",
                    "product": "agnai",
                    "versions": [
                        {
                            "version": "< 1.0.330",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-09-26T17:16:21.950Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-h355-hm5h-cm8h",
                "discovery": "UNKNOWN"
            }
        }
    }
}