Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-31992— Mealie contains a DoS vulnerability in recipe importer

Quick assessment

Affected
mealie-recipes mealie
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mealie是美国Hayden个人开发者的一个自托管的食谱管理器和膳食计划器。 Mealie 1.4.0之前版本存在安全漏洞,该漏洞源于safe_scrape_html 函数利用用户控制的 URL 向远程服务器发出请求,但这些请求不受速率限制,攻击者利用该漏洞可以向服务器发出大量请求,导致耗尽分配给 Mealie 容器的 CPU 资源。

CVSS 6.5 · Medium EPSS 0.72% · P52

Possible ATT&CK Techniques 1 AI

T1498.001 · Direct Network Flood
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-31992

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mealie contains a DoS vulnerability in recipe importer
Source: CVE Program / CVE List V5
Vulnerability Description
Mealie is a self hosted recipe manager and meal planner. Prior to 1.4.0, the safe_scrape_html function utilizes a user-controlled URL to issue a request to a remote server, however these requests are not rate-limited. While there are efforts to prevent DDoS by implementing a timeout on requests, it is possible for an attacker to issue a large number of requests to the server which will be handled in batches based on the configuration of the Mealie server. The chunking of responses is helpful for mitigating memory exhaustion on the Mealie server, however a single request to an arbitrarily large external file (e.g. a Debian ISO) is often sufficient to completely saturate a CPU core assigned to the Mealie container. Without rate limiting in place, it is possible to not only sustain traffic against an external target indefinitely, but also to exhaust the CPU resources assigned to the Mealie container. This vulnerability is fixed in 1.4.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
Mealie 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mealie是美国Hayden个人开发者的一个自托管的食谱管理器和膳食计划器。 Mealie 1.4.0之前版本存在安全漏洞,该漏洞源于safe_scrape_html 函数利用用户控制的 URL 向远程服务器发出请求,但这些请求不受速率限制,攻击者利用该漏洞可以向服务器发出大量请求,导致耗尽分配给 Mealie 容器的 CPU 资源。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
mealie-recipes mealie < 1.4.0 -

II. Public POCs for CVE-2024-31992

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-31992

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-31992 (2)

Other References for CVE-2024-31992 (2)

Same Patch Batch · mealie-recipes · 2024-04-19 · 4 CVEs total

CVE-2024-31994 6.5 MEDIUM Mealie vulnerable to a DoS in recipe image importer (GHSL-2023-228)
CVE-2024-31993 6.2 MEDIUM Mealie vulnerable to a GET-based SSRF in recipe image importer (GHSL-2023-227)
CVE-2024-31991 4.1 MEDIUM Mealie vulnerable to a GET-based SSRF in recipe importer (GHSL-2023-225)

IV. Related Vulnerabilities

V. Comments for CVE-2024-31992

No comments yet


Leave a comment