CyberSecBulletin
CVE-2024-5386NVD status: Analyzed

lunary-ai/lunary: Excessive Attack Surface

CVE-2024-5386 is a high-severity excessive attack surface vulnerability in lunary-ai/lunary from Lunary-ai, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version 1.2.14 as the first without the flaw, so updating lunary-ai/lunary to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.53% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update lunary-ai/lunary to 1.2.14 or a later version.
  2. Update Lunary to 1.2.14 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
Lunary-ailunary-ai/lunarybefore 1.2.141.2.14
LunaryLunarybefore 1.2.141.2.14

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighNVD
CVSS 3.09.6CriticalCNA (huntr.dev)

Official description

In lunary-ai/lunary version 1.2.2, an account hijacking vulnerability exists due to a password reset token leak. A user with a 'viewer' role can exploit this vulnerability to hijack another user's account by obtaining the password reset token. The vulnerability is triggered when the 'viewer' role user sends a specific request to the server, which responds with a password reset token in the 'recoveryToken' parameter. This token can then be used to reset the password of another user's account without authorization. The issue results from an excessive attack surface, allowing lower-privileged users to escalate their privileges and take over accounts.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Excessive Attack Surface

The product has an attack surface whose quantitative measurement exceeds a desirable maximum.

More Excessive Attack Surface vulnerabilities (CWE-1125)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Patches and release notes

Other vulnerabilities in lunary-ai/lunary

All lunary-ai/lunary vulnerabilities

Spotted an error? Tell us.