Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apache2
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Apache packaging team
apache2
Commits
bee2facd
Commit
bee2facd
authored
6 years ago
by
Stefan Fritsch
Browse files
Options
Downloads
Patches
Plain Diff
CVE-2018-1333: mod_http2: Fix DoS
parent
a0b6c402
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+1
-0
1 addition, 0 deletions
debian/changelog
debian/patches/CVE-2018-1333-mod_http2_DoS.diff
+29
-0
29 additions, 0 deletions
debian/patches/CVE-2018-1333-mod_http2_DoS.diff
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
31 additions
and
0 deletions
debian/changelog
+
1
−
0
View file @
bee2facd
apache2 (2.4.25-3+deb9u6) UNRELEASED; urgency=medium
* CVE-2018-1333: mod_http2: Fix DoS by worker exhaustion. Closes: #904106
* mod_proxy_fcgi: Fix segfault. Closes: #902906
-- Stefan Fritsch <sf@debian.org> Sun, 28 Oct 2018 13:12:36 +0100
...
...
This diff is collapsed.
Click to expand it.
debian/patches/CVE-2018-1333-mod_http2_DoS.diff
0 → 100644
+
29
−
0
View file @
bee2facd
# https://svn.apache.org/viewvc?view=revision&revision=1832487
# CVE-2018-1333
--- apache2.orig/modules/http2/h2_bucket_beam.c
+++ apache2/modules/http2/h2_bucket_beam.c
@@ -550,6 +550,7 @@
static void recv_buffer_cleanup(h2_bucke
apr_brigade_destroy(bb);
if (bl) enter_yellow(beam, bl);
+ apr_thread_cond_broadcast(beam->change);
if (beam->cons_ev_cb) {
beam->cons_ev_cb(beam->cons_ctx, beam);
}
@@ -707,12 +708,10 @@
void h2_beam_abort(h2_bucket_beam *beam)
h2_beam_lock bl;
if (beam && enter_yellow(beam, &bl) == APR_SUCCESS) {
- if (!beam->aborted) {
- beam->aborted = 1;
- r_purge_sent(beam);
- h2_blist_cleanup(&beam->send_list);
- report_consumption(beam, &bl);
- }
+ beam->aborted = 1;
+ r_purge_sent(beam);
+ h2_blist_cleanup(&beam->send_list);
+ report_consumption(beam, &bl);
apr_thread_cond_broadcast(beam->change);
leave_yellow(beam, &bl);
}
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
bee2facd
...
...
@@ -28,3 +28,4 @@ mod_http2-upgrade-to-2.4.33.diff
mod_http2-revert-new-proxy-features.diff
mod_http2_mem_usage_32bit.diff
fcgi_crash.diff
CVE-2018-1333-mod_http2_DoS.diff
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment