F5-K000133759: CRLF Injection

Published May 8, 2023
·
Updated

http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request.

Affected Software

5 affected componentsFixes available
F5 BIG-IP
F5 BIG-IP Next SPK>=1.5.0<=1.7.1
F5 BIG-IQ Centralized Management>=8.0.0<=8.4.2
F5 F5OS-A>=1.8.0<=1.8.3, >=1.5.1<=1.5.4, =1.4.0, >=1.3.0<=1.3.2
1.8.41.5.4-1
F5 F5OS-C>=1.8.0<=1.8.2, >=1.6.0<=1.6.4, >=1.5.0<=1.5.1, >=1.3.0<=1.3.2
1.6.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.4Fixed in 1.5.4-Fixed in 1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.6.4-Fixed in 1

Event History

May 8, 2023
Advisory Published
via F5·03:03 PM
Data Sourced
via F5·03:03 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What must an attacker control to exploit this issue?

The attacker must be able to control the HTTP request method passed as the first argument to HTTPConnection.request and include carriage-return and line-feed control characters in that value.

2

Which Python releases contain the vulnerable http.client behavior?

Affected releases are Python 3.x before 3.5.10, Python 3.6 before 3.6.12, Python 3.7 before 3.7.9, and Python 3.8 before 3.8.5.

3

Does exploitation require authentication or user interaction?

No. The supplied vector identifies network-based exploitation with low attack complexity and no required privileges or user interaction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203