Description
Multiple cross-site scripting (XSS) vulnerabilities in the paste.httpexceptions implementation in Paste before 1.7.4 allow remote attackers to inject arbitrary web script or HTML via vectors involving a 404 status code, related to (1) paste.urlparser.StaticURLParser, (2) paste.urlparser.PkgResourcesParser, (3) paste.urlmap.URLMap, and (4) HTTPNotFound.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | paste | 1.7.4-1 | — |
| Debian 13 | paste | 1.7.4-1 | — |
| Debian 12 | paste | 1.7.4-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | paste | < 1.7.4 | 1.7.4 | GHSA-7gfc-2v6g-6w9f |
References
- http://pylonshq.com/articles/archives/2010/6/paste_174_released_addresses_xss_security_hole
- http://bitbucket.org/ianb/paste/changeset/fcae59df8b56
- 41160 vdb-entry
- http://groups.google.com/group/paste-users/browse_thread/thread/3b3fff3dadd0b1e5?pli=1
- 42500 third-party-advisory
- USN-1026-1 vendor-advisory
- [pylons-discuss] 20100624 Paste 1.7.4, security fix for XSS hole mailing-list
- [oss-security] 20100629 CVE request: XSS in python paste mailing-list
- [oss-security] 20100630 Re: CVE request: XSS in python paste mailing-list