Debian Codegraph @

SECURITY.md

raw
1 # Security Policy
2
3 ## Security contact information
4
5 To report a security vulnerability, please use the
6 [Tidelift security contact](https://tidelift.com/security).
7 Tidelift will coordinate the fix and disclosure.
8
9 ## Reporting a vulnerability
10
11 Even when unsure whether the bug in question is an exploitable
12 vulnerability, it is recommended to send the report and not to
13 discuss the issue anywhere else.
14
15 Vulnerabilities are expected to be discussed _only_ via email,
16 and not in public, until an official release to address the
17 vulnerability is available.
18
19 Examples for details to include:
20
21 - Ideally a short description (or a script) to demonstrate an
22 exploit.
23 - The affected platforms and scenarios.
24 - The name and affiliation of the security researchers who are
25 involved in the discovery, if any.
26 - Whether the vulnerability has already been disclosed.
27 - How long an embargo would be required to be safe.
28
29 ## Supported Versions
30
31 There are no official "Long Term Support" versions in jsonpickle.
32 Instead, the maintenance track (i.e. the versions based on the
33 most recently published feature release, also known as ".0"
34 version) sees occasional updates with bug fixes.
35
36 Fixes to vulnerabilities are made for the maintenance track for
37 the latest feature release. The jsonpickle project makes no formal
38 guarantee for any older maintenance tracks to receive updates.
39 In practice, though, critical vulnerability fixes can be applied not
40 only to the most recent track, but to at least a couple more
41 maintenance tracks if requested by users.
42
43 ## Security
44
45 The jsonpickle module **is not secure**. Only unpickle data you trust.
46
47 It is possible to construct malicious pickle data which will **execute
48 arbitrary code during unpickling**. Never unpickle data that could have come
49 from an untrusted source, or that could have been tampered with.
50
51 Consider signing data with an HMAC if you need to ensure that it has not
52 been tampered with.
53
54 Safer deserialization approaches, such as reading JSON directly,
55 may be more appropriate if you are processing untrusted data.