Cyber Resilience

CVE-2021-40642

Medium

Published: 29 June 2022

Published
29 June 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS Score 0.0011 29.7th percentile
Risk Priority 9 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2021-40642 is a medium-severity Missing Encryption of Sensitive Data (CWE-311) vulnerability in Textpattern Textpattern. Its CVSS base score is 4.3 (Medium).

Operationally, ranked at the 29.7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability details

Textpattern CMS v4.8.7 and older vulnerability exists through Sensitive Cookie in HTTPS Session Without 'Secure' Attribute via textpattern/lib/txplib_misc.php. The secure flag is not set for txp_login session cookie in the application. If the secure flag is not set, then the…

more

cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

textpattern
textpattern
≤ 4.8.7

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-311

Privacy and security training stresses encryption of sensitive data, reducing missing encryption weaknesses.

addresses: CWE-311

Exchange agreements must document security requirements, which would include encryption to protect sensitive data in transit.

addresses: CWE-311

The map highlights data actions that involve sensitive data, enabling identification of missing encryption requirements.

addresses: CWE-311

Settings can require encryption of sensitive data, preventing missing encryption weaknesses.

addresses: CWE-311

Architectures must describe confidentiality protections, which includes mandating encryption for sensitive data in transit and at rest.

addresses: CWE-311

Privacy and security curricula stress encryption requirements, reducing missing encryption of sensitive data.

addresses: CWE-311

Requires encryption and similar controls for CUI processed or stored externally, preventing missing encryption of sensitive data.

addresses: CWE-311

Monitoring detects missing encryption of sensitive data in storage or transit configurations.

References