CVE-2019-13122
A Cross Site Scripting (XSS) vulnerability exists in the template tag used to render message ids in Patchwork v1.1 through v2.1.x. This allows an attacker to insert JavaScript or HTML into the patch detail page via an email sent to a mailing list consumed by Patchwork. This affects the function msgid in templatetags/patch.py. Patchwork versions v2.1.4 and v2.0.4 will contain the fix.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.23 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.22 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.21 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.20 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.19 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.18 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.17 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.16 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.15 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.14 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.13 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.12 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.11 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.10 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.9 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.8 | patchwork | Fixed | 2.0.1-r1 | ALPINE-CVE-2019-13122 |
| Alpine Linux 3.7 | patchwork | Fixed | 1.1.3-r1 | ALPINE-CVE-2019-13122 |
References
- https://github.com/getpatchwork/patchwork/releases
- https://github.com/getpatchwork/patchwork/commits/master
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/date.html
- http://jk.ozlabs.org/projects/patchwork/
- http://www.openwall.com/lists/oss-security/2019/07/05/1
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.