SCA: security update for khoj (GHSA-hq4h-w933-jm6c)

medium Tenable Self-Hosted Container Security Plugin ID 415886

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Khoj is a self-hostable artificial intelligence app. Prior to version 1.29.10, an Insecure Direct Object
Reference (IDOR) vulnerability in the update_subscription endpoint allows any authenticated user to
manipulate other users' Stripe subscriptions by simply modifying the email parameter in the request. The
vulnerability exists in the subscription endpoint at `/api/subscription`. The endpoint uses an email
parameter as a direct reference to user subscriptions without verifying object ownership. While
authentication is required, there is no authorization check to verify if the authenticated user owns the
referenced subscription. The issue was fixed in version 1.29.10. Support for arbitrarily presenting an
email for update has been deprecated. (CVE-2024-52294)

See Also

https://github.com/advisories/GHSA-hq4h-w933-jm6c

Plugin Details

Severity: Medium

ID: 415886

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:P/A:N

CVSS Score Source: CVE-2024-52294

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/30/2024

Vulnerability Publication Date: 12/30/2024

Reference Information

CVE: CVE-2024-52294

cwe: CWE-639