erudika/scoold: Improper Handling of Length Parameter Inconsistency
CVE-2022-1543 is a high-severity improper handling of length parameter inconsistency vulnerability in erudika/scoold from Erudika, 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.49.4 as the first without the flaw, so updating erudika/scoold to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.11% chance of exploitation within 30 days, higher than 67% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update erudika/scoold to 1.49.4 or a later version.
- Update Scoold to 1.49.4 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Erudika | erudika/scoold | before 1.49.4 | 1.49.4 |
| Erudika | Scoold | before 1.49.4 | 1.49.4 |
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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | NVD |
| CVSS 3.0 | 9.3 | Critical | CNA (huntr.dev) |
| CVSS 2.0 | 6.5 | Medium | NVD |
Official description
Improper handling of Length parameter in GitHub repository erudika/scoold prior to 1.49.4. When the text size is large enough the service results in a momentary outage in a production environment. That can lead to memory corruption on the server.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Handling of Length Parameter Inconsistency
The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.
How developers prevent this class of flaw
- When processing structured incoming data containing a size field followed by raw data, ensure that you identify and resolve any inconsistencies between the size field and the actual size of the data.
- Do not let the user control the size of the buffer.
- Validate that the length of the user-supplied data is consistent with the buffer size.
More Improper Handling of Length Parameter Inconsistency vulnerabilities (CWE-130)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- github.com/erudika/scoold/commit/62a0e92e1486ddc17676a7ead2c07ff653d167ceThird Party Advisory
Technical write-ups (may include proof of concept)
- huntr.dev/bounties/9889d435-3b9c-4e9d-93bc-5272e0723f9fExploit, Third Party Advisory
Recent Improper Handling of Length Parameter Inconsistency vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.