CVE-2019-13122
Ozlabs Patchwork vulnerability
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.
Affected products
Patchwork. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ozlabs Patchwork runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- jk.ozlabs.org/projects/patchwork/ · Vendor Advisory
- lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html · Vendor Advisory
- lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html · Vendor Advisory
- lists.ozlabs.org/pipermail/patchwork/2019-July/date.html · Vendor Advisory
- www.openwall.com/lists/oss-security/2019/07/05/1 · Third Party Advisory
- github.com/getpatchwork/patchwork/commits/master · Third Party Advisory
- github.com/getpatchwork/patchwork/releases · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-13122
- cve.org/CVERecord?id=CVE-2019-13122
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.