CVE-2018-25074 Prestaul skeemas base.js redos
An attacker can cause a denial of service in the skeemas library by exploiting inefficient regular expression complexity in the base.js validator.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-25074?
CVE-2018-25074 is a low-severity denial of service vulnerability in Prestaul skeemas, published on 11 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in Prestaul skeemas and classified as problematic. This issue affects some unknown processing of the file validators/base.js. The manipulation of the argument uri leads to inefficient regular expression complexity. The patch is named 65e94eda62dc8dc148ab3e59aa2ccc086ac448fd. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-218003.
Weakness: CWE-1333
Which versions are affected by CVE-2018-25074?
2 open source packages ship an affected version, including skeemas. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
skeemas npm | All versions | 1.2.5 |
skeemas npm | All versions | 1.2.5 |
Products include Skeemas Project Skeemas.
How do I fix CVE-2018-25074?
Upgrade skeemas to 1.2.5 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2018-25074 being exploited?
There is no known exploitation of CVE-2018-25074 in the wild and no public exploit code.
Sources
Also known as GHSA-qv66-f876-vjvr.