Debian Codegraph @

docs/sec/CELERYSA-0003.txt

raw
1 =========================================
2 CELERYSA-0003: Celery Security Advisory
3 =========================================
4 :contact: [email protected]
5 :CVE id: TBA
6 :date: 2016-12-08 05:00:00 p.m. PST
7
8 Details
9 =======
10
11 :package: celery
12 :vulnerability: Configuration Error
13 :problem type: remote
14 :risk: low
15 :versions-affected: 4.0.0
16
17 Description
18 ===========
19
20 The default configuration in Celery 4.0.0 allowed for deserialization
21 of pickled messages, even if the software is configured to send
22 messages in the JSON format.
23
24 The particular configuration in question is the `accept_content` setting,
25 which by default was set to:
26
27 app.conf.accept_content = ['json', 'pickle', 'msgpack', 'yaml']
28
29 The risk is still set to low considering that an attacker would require access
30 to the message broker used to send messages to Celery workers.
31
32 Systems affected
33 ================
34
35 Users of Celery version 4.0.0 with no explicit accept_content setting set.
36
37 Solution
38 ========
39
40 To work around the issue you can explicitly configure the accept_content
41 setting:
42
43 app.conf.accept_content = ['json']
44
45 Or you can upgrade to the Celery 4.0.1 version:
46
47 $ pip install -U celery
48
49 Distribution package maintainers are urged to provide their users
50 with updated packages.
51
52 Please direct questions to the celery-users mailing-list:
53 https://groups.google.com/group/celery-users/,
54
55 or if you're planning to report a new security related issue we request that
56 you keep the information confidential by contacting
57 [email protected] instead.
58
59 Thank you!