Feed
5.9MEDIUM

CVE-2024-47831Denial of Service condition in Next.js image optimization

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.1% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.1%
percentile 65%
Priority
24/100 low
how it is computed
Fix
Named by a source
CVE published 14 Oct 2024

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.1% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 10.0.0, < 14.2.7Fixed in14.2.7OSV (GHSA-g77x-44xx-532m)

Confirmed facts

CVSS
5.9 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-g77x-44xx-532m)
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
none
Weakness
CWE-674

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)### Impact The image optimization feature of Next.js contained a vulnerability which allowed for a potential Denial of Service (DoS) condition which could lead to excessive CPU consumption. **Not affected:** - The `next.config.js` file is configured with `images.unoptimized` set to `true` or `images.loader` set to a non-default value. - The Next.js application is hosted on Vercel. ### Patches This issue was fully patched in Next.js `14.2.7`. We recommend that users upgrade to at least this version. ### Workarounds Ensure that the `next.config.js` file has either `images.unoptimized`, `images.loader` or `images.loaderFile` assigned. #### Credits Brandon Dahler (brandondahler), AWS Dimitrios Vlastaras

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 30 min ago · osv 30 min ago · nvd 2 h ago · epss 29 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-g77x-44xx-532m