CVE-2021-43802

Source
https://cve.org/CVERecord?id=CVE-2021-43802
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43802.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43802
Related
  • GHSA-w3g3-qf3g-2mqc
Published
2021-12-09T23:15:07.517Z
Modified
2026-04-10T04:40:26.431461Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Etherpad is a real-time collaborative editor. In versions prior to 1.8.16, an attacker can craft an *.etherpad file that, when imported, might allow the attacker to gain admin privileges for the Etherpad instance. This, in turn, can be used to install a malicious Etherpad plugin that can execute arbitrary code (including system commands). To gain privileges, the attacker must be able to trigger deletion of express-session state or wait for old express-session state to be cleaned up. Core Etherpad does not delete any express-session state, so the only known attacks require either a plugin that can delete session state or a custom cleanup process (such as a cron job that deletes old sessionstorage:* records). The problem has been fixed in version 1.8.16. If users cannot upgrade to 1.8.16 or install patches manually, several workarounds are available. Users may configure their reverse proxies to reject requests to /p/*/import, which will block all imports, not just *.etherpad imports; limit all users to read-only access; and/or prevent the reuse of express_sid cookie values that refer to deleted express-session state. More detailed information and general mitigation strategies may be found in the GitHub Security Advisory.

References

Affected packages

Git / github.com/ether/etherpad-lite

Affected ranges

Type
GIT
Repo
https://github.com/ether/etherpad-lite
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.8.16"
        }
    ]
}

Affected versions

1.*
1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.2.0
1.2.1
1.2.12
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.2.7
1.2.9
1.3.0
1.4.0
1.4.1
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.6.0
1.6.1
1.6.2
1.8.10
1.8.11
1.8.12
1.8.13
1.8.14
1.8.15
1.8.6
1.8.7
1.8.8
1.8.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43802.json"