Update dependency gunicorn to v23 [SECURITY] #289
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==20.0.4
->==23.0.0
GitHub Vulnerability Alerts
CVE-2024-1135
Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability has been shown to allow access to endpoints restricted by gunicorn. This issue has been addressed in version 22.0.0.
To be affected users must have a network path which does not filter out invalid requests. These users are advised to block access to restricted endpoints via a firewall or other mechanism if they are unable to update.
CVE-2024-6827
Gunicorn version 21.2.0 does not properly validate the value of the 'Transfer-Encoding' header as specified in the RFC standards, which leads to the default fallback method of 'Content-Length,' making it vulnerable to TE.CL request smuggling. This vulnerability can lead to cache poisoning, data exposure, session manipulation, SSRF, XSS, DoS, data integrity compromise, security bypass, information leakage, and business logic abuse.
Release Notes
benoitc/gunicorn (gunicorn)
v23.0.0
Compare Source
Gunicorn 23.0.0 has been released. This version improve HTTP 1.1. support and which improve safety
You're invited to upgrade asap your own installation.
23.0.0 - 2024-08-10
3217
, :pr:3089
, :pr:3167
)3079
)2688
)3261
)3261
)3257
)TypeError
(:pr:2336
)3258
)3192
)[::1]
in default for :ref:forwarded-allow-ips
and :ref:proxy-allow-ips
(:pr:3192
)** NOTE **
forwarded-allow-ips
setting if you are still not seeing the SCRIPT_NAME transmittedforwarder-headers
setting if you are missing headers after upgrading from a version prior to 22.0.0** Breaking changes **
3255
)3253
)--tolerate-dangerous-framing
switch from 22.0 (:pr:3260
)Fix CVE-2024-1135
v22.0.0
: Gunicorn 22.0 has been releasedCompare Source
Gunicorn 22.0.0 has been released. This version fix the numerous security vulnerabilities. You're invited to upgrade asap your own installation.
Changes:
v21.2.0
: Gunicorn 21.2.0 has been releasedCompare Source
Gunicorn 21.2.0 has been released. This version fix the issue introduced in the threaded worker.
Changes:
v21.1.0
: Gunicorn 21.1.0 has been releasedCompare Source
gunicorn 21.1.0 has been released. This version fix the issue introduced in the threaded worker.
21.1.0 - 2023-07-18
v21.0.1
: Gunicorn 21 has been releasedCompare Source
Gunicorn 21 is out with miscellaneous changes. Enjoy!
We made this release major to start our new release cycle. More info will be provided on our discussion forum.
21.0.1 - 2023-07-17
fix documentation build
21.0.0 - 2023-07-17
support python 3.11
fix gevent and eventlet workers
fix threads support (gththread): improve performance and unblock requests
SSL: noaw use SSLContext object
HTTP parser: miscellaneous fixes
remove unecessary setuid calls
fix testing
improve logging
miscellaneous fixes to core engine
Full Changelog: benoitc/gunicorn@21.0.0...21.0.1
v21.0.0
Compare Source
v20.1.0
Compare Source
accept
wsgi_app
--timeout = 0
$PORT
environment variablesocket.sendfile
instead ofos.sendfile
InotifyError
when a fileis added to the working directory
--log-dict-config
CLI flag because it never had a working format(the
logconfig_dict
setting in configuration files continues to work)** Breaking changes **
** Documentation **
** Others **
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.