# CVE-2019-7313: Buildbot CRLF Injection

Source: https://junglewise.ai/threats/cve-2019-7313-buildbot-crlf-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-02-03  
License: CC BY 4.0 with a link back

CVE-2019-7313 · Severity: low · CVSS 3 · Published 2019-02-03

www/resource.py in Buildbot before 1.8.1 allows CRLF injection in the Location header of /auth/login and /auth/logout via the redirect parameter. This affects other web sites in the same domain.

Technologies: [buildbot (PyPI)](https://junglewise.ai/threats/technologies/buildbot). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2019-7313 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2019-7313 being exploited in the wild.

**How severe is CVE-2019-7313?** Low severity, with a CVSS score of 3, published 3 February 2019.

**Which products and versions are affected?** buildbot (PyPI) ECOSYSTEM:introduced=0.9.0,fixed=1.8.1.

**Is there a fix for CVE-2019-7313?** Yes. buildbot (PyPI): upgrade to 1.8.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-7313?** Check whether you run buildbot (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- buildbot (PyPI): upgrade to 1.8.1 or later

  ```sh
  pip install "buildbot>=1.8.1"
  ```


## Affected products

- buildbot (PyPI) ECOSYSTEM:introduced=0.9.0,fixed=1.8.1

## Identifiers

- CVE-2019-7313
- GHSA-66x7-2r56-fj77
- PYSEC-2019-7

## Related threats

- [Improper Authentication in Buildbot](https://junglewise.ai/threats/cve-2019-12300-improper-authentication-in-buildbot)
- [PYSEC-2019-76 - Buildbot before 1.8.2 and 2.x before 2.3.1 accepts a user-submitted authorization token from OAuth and…](https://junglewise.ai/threats/pysec-2019-76-buildbot-before-1-8-2-and-2-x-before-2-3-1-accepts-a-user-ca50ffb3)
- [PYSEC-2019-77 - www/resource.py in Buildbot before 1.8.1 allows CRLF injection in the Location header of /auth/login…](https://junglewise.ai/threats/pysec-2019-77-www-resource-py-in-buildbot-before-1-8-1-allows-crlf-0f2c1ca3)
- [Buildbot vulnerable to cross-site scripting](https://junglewise.ai/threats/cve-2009-2967-buildbot-vulnerable-to-cross-site-scripting)
- [Buildbot Cross-site scripting (XSS) vulnerability](https://junglewise.ai/threats/cve-2009-2959-buildbot-cross-site-scripting-xss-vulnerability)
