CyberSecBulletin
CVE-2022-1543NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update erudika/scoold to 1.49.4 or a later version.
  2. Update Scoold to 1.49.4 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
Erudikaerudika/scooldbefore 1.49.41.49.4
ErudikaScooldbefore 1.49.41.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 systemScoreSeverityScored by
CVSS 3.18.8HighNVD
CVSS 3.09.3CriticalCNA (huntr.dev)
CVSS 2.06.5MediumNVD

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

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Recent Improper Handling of Length Parameter Inconsistency vulnerabilities

Spotted an error? Tell us.