Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-skynet/LocalAI
  4. ›
  5. CVE-2024-3135

CVE-2024-3135: LocalAI cross-site request forgery vulnerability

April 1, 2024 (updated April 2, 2024)

The web server lacked CSRF tokens allowing an attacker to host malicious JavaScript on a host that when visited by a LocalAI user, could allow the attacker to fill disk space to deny service or abuse credits.

References

  • github.com/advisories/GHSA-jhvf-7c85-3c9g
  • github.com/mudler/LocalAI
  • huntr.com/bounties/7afdc4d3-4b68-45ea-96d0-cf9ed3712ae8
  • nvd.nist.gov/vuln/detail/CVE-2024-3135

Code Behaviors & Features

Detect and mitigate CVE-2024-3135 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 up to 2.7.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/go-skynet/LocalAI/CVE-2024-3135.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:07 +0000.