blob: 3f2f5d347a0091522d88747f23d5ceae92e199b8 [file] [log] [blame] [view]
Varun Khanejadf1bc00e2017-08-10 05:22:401# Severity Guidelines for Security Issues
2
3[TOC]
4
5Vendors shipping products based on Chromium might wish to rate the severity of
6security issues in the products they release. This document contains guidelines
7for how to rate these issues. Check out our
8[security release management page](https://www.chromium.org/Home/chromium-security/security-release-management)
9for guidance on how to release fixes based on severity.
10
Amy Ressler4e00f882022-02-24 18:03:4111Any significant mitigating factors will generally reduce an issue's severity by one or
12more levels:
13* Not web accessible, reliant solely on direct UI interaction to trigger.
14* Unusual or unlikely user interaction will normally reduce severity by one
15 level. This means interaction which may sometimes occur, but would not be
16 typical of an average user engaging with Chrome or a particular feature in
17 Chrome, nor could a user be easily convinced to perform by a persuasive web page.
18* Requiring profile destruction or browser shutdown will normally reduce
19 severity by one level.
Adrian Taylor850e6c02023-05-15 09:56:2520* [MiraclePtr protection](#TOC-MiraclePtr)
Amy Ressler4e00f882022-02-24 18:03:4121
22Bugs that require implausible interaction, interactions a user would not
23realistically be convinced to perform, will generally be downgraded to a
24functional bug and not considered a security bug.
Adrian Taylor44dbdc82020-01-07 01:49:1925
26Conversely, we do not consider it a mitigating factor if a vulnerability applies
27only to a particular group of users. For instance, a Critical vulnerability is
28still considered Critical even if it applies only to Linux or to those users
29running with accessibility features enabled.
30
31Also note that most crashes do not indicate vulnerabilities. Chromium is designed
32to crash in a controlled manner (e.g., with a ```__debugBreak```) when memory is
Varun Khanejadf1bc00e2017-08-10 05:22:4033exhausted or in other exceptional circumstances.
34
35
Amy Ressleraa1ed33b2024-02-02 17:51:3636## Critical severity (S0) {#TOC-Critical-severity}
Varun Khanejadf1bc00e2017-08-10 05:22:4037
Amy Ressleraa1ed33b2024-02-02 17:51:3638Critical severity (S0) issues allow an attacker to read or write arbitrary
39resources (including but not limited to the file system, registry, network,
40etc.) on the underlying platform, with the user's full privileges.
Varun Khanejadf1bc00e2017-08-10 05:22:4041
Amy Ressleraa1ed33b2024-02-02 17:51:3642They are normally assigned Priority **P0** and assigned to the current stable
Varun Khanejadf1bc00e2017-08-10 05:22:4043milestone (or earliest milestone affected). For critical severity bugs,
44[SheriffBot](https://www.chromium.org/issue-tracking/autotriage) will
45automatically assign the milestone.
46
Amy Ressleraa1ed33b2024-02-02 17:51:3647**For critical severity (S0) vulnerabilities, we aim to deploy the patch to all
Chris Palmer91bab482019-07-17 00:05:3648Chrome users in under 30 days.**
Varun Khanejadf1bc00e2017-08-10 05:22:4049
50Critical vulnerability details may be made public in 60 days,
51in accordance with Google's general [vulnerability disclosure recommendations](https://security.googleblog.com/2010/07/rebooting-responsible-disclosure-focus.html),
52or [faster (7 days)](https://security.googleblog.com/2013/05/disclosure-timeline-for-vulnerabilities.html)
53if there is evidence of active exploitation.
54
55Example bugs:
56
Daniel Cheng62a44a82019-09-09 22:15:3657* Memory corruption in the browser process ([319125](https://crbug.com/319125#c10)).
Chris Bookholt5f45d02b2023-11-27 17:10:3658* Memory corruption in the GPU process when it is reachable directly from web
59 content without compromising the renderer.
60 ([1420130](https://crbug.com/1420130), [1427865](https://crbug.com/1427865))
Varun Khanejadf1bc00e2017-08-10 05:22:4061* Exploit chains made up of multiple bugs that can lead to code execution
Chris Palmer5c330772019-05-24 23:32:4362 outside of the sandbox ([416449](https://crbug.com/416449)).
63* A bug that enables web content to read local files
64 ([962500](https://crbug.com/962500)).
Varun Khanejadf1bc00e2017-08-10 05:22:4065
66Note that the individual bugs that make up the chain will have lower severity
67ratings.
68
69
Amy Ressleraa1ed33b2024-02-02 17:51:3670## High severity (S1) {#TOC-High-severity}
Varun Khanejadf1bc00e2017-08-10 05:22:4071
Amy Ressleraa1ed33b2024-02-02 17:51:3672High severity (S1) vulnerabilities allow an attacker to execute code in the context
Lukasz Anforowiczcb7b5142019-07-19 23:40:1673of, or otherwise impersonate other origins or read cross-origin data.
74Bugs which would normally be
Varun Khanejadf1bc00e2017-08-10 05:22:4075critical severity with unusual mitigating factors may be rated as high severity.
76For example, renderer sandbox escapes fall into this category as their impact is
77that of a critical severity bug, but they require the precondition of a
Adrian Taylor6f37ff32020-05-01 00:40:1478compromised renderer. (Bugs which involve using [MojoJS](../../mojo/public/js/README.md)
79to trigger an exploitable browser process crash usually fall into this category).
Amy Ressler4e00f882022-02-24 18:03:4180Another example are bugs that result in memory corruption in the browser
81process, which would normally be critical severity, but require browser shutdown
82or profile destruction, which would lower these issues to high severity. A
83bug with the precondition of browser shutdown or profile destruction should be
84considered to have a maximum severity of high and could potentially be
85reduced by other mitigating factors.
Varun Khanejadf1bc00e2017-08-10 05:22:4086
Amy Ressleraa1ed33b2024-02-02 17:51:3687They are normally assigned Priority **P1** and assigned to the current stable
Varun Khanejadf1bc00e2017-08-10 05:22:4088milestone (or earliest milestone affected). For high severity bugs,
89[SheriffBot](https://www.chromium.org/issue-tracking/autotriage) will
90automatically assign the milestone.
91
Amy Ressleraa1ed33b2024-02-02 17:51:3692**For high severity (S1) vulnerabilities, we aim to deploy the patch to all
93Chrome users in under 60 days.**
Varun Khanejadf1bc00e2017-08-10 05:22:4094
95Example bugs:
96
97* A bug that allows full circumvention of the same origin policy. Universal XSS
98bugs fall into this category, as they allow script execution in the context of
99an arbitrary origin ([534923](https://crbug.com/534923)).
100* A bug that allows arbitrary code execution within the confines of the sandbox,
Chris Bookholt5f45d02b2023-11-27 17:10:36101such as memory corruption in the renderer process
Varun Khanejadf1bc00e2017-08-10 05:22:40102([570427](https://crbug.com/570427), [468936](https://crbug.com/468936)).
103* Complete control over the apparent origin in the omnibox
104([76666](https://crbug.com/76666)).
Chris Bookholt5f45d02b2023-11-27 17:10:36105* Memory corruption in the browser or another high privileged process (e.g. GPU
106 or network process), that can only be triggered from a compromised renderer,
107 leading to a sandbox escape ([1393177](https://crbug.com/1393177),
108 [1421268](crbug.com/1421268)).
Varun Khanejadf1bc00e2017-08-10 05:22:40109* Kernel memory corruption that could be used as a sandbox escape from a
110compromised renderer ([377392](https://crbug.com/377392)).
Chris Bookholt5f45d02b2023-11-27 17:10:36111* Memory corruption in the browser or another high privileged process (e.g. GPU
112 or network process) that requires specific user interaction, such as granting
113 a permission ([455735](https://crbug.com/455735)).
Lukasz Anforowicz33b14352019-09-20 21:57:58114* Site Isolation bypasses:
115 - Cross-site execution contexts unexpectedly sharing a renderer process
116 ([863069](https://crbug.com/863069), [886976](https://crbug.com/886976)).
117 - Cross-site data disclosure
118 ([917668](https://crbug.com/917668), [927849](https://crbug.com/927849)).
Varun Khanejadf1bc00e2017-08-10 05:22:40119
120
Amy Ressleraa1ed33b2024-02-02 17:51:36121## Medium severity (S2) {#TOC-Medium-severity}
Varun Khanejadf1bc00e2017-08-10 05:22:40122
Amy Ressleraa1ed33b2024-02-02 17:51:36123Medium severity (S2) bugs allow attackers to read or modify limited amounts of
Varun Khanejadf1bc00e2017-08-10 05:22:40124information, or are not harmful on their own but potentially harmful when
125combined with other bugs. This includes information leaks that could be useful
126in potential memory corruption exploits, or exposure of sensitive user
Chris Palmer91bab482019-07-17 00:05:36127information that an attacker can exfiltrate. Bugs that would normally be rated
128at a higher severity level with unusual mitigating factors may be rated as
129medium severity.
Varun Khanejadf1bc00e2017-08-10 05:22:40130
Amy Ressleraa1ed33b2024-02-02 17:51:36131They are normally assigned Priority **P1** and assigned to the current stable
Varun Khanejadf1bc00e2017-08-10 05:22:40132milestone (or earliest milestone affected). If the fix seems too complicated to
133merge to the current stable milestone, they may be assigned to the next stable
134milestone.
135
136Example bugs:
137
138* An out-of-bounds read in a renderer process
139([281480](https://crbug.com/281480)).
140* An uninitialized memory read in the browser process where the values are
141passed to a compromised renderer via IPC ([469151](https://crbug.com/469151)).
142* Memory corruption that requires a specific extension to be installed
143([313743](https://crbug.com/313743)).
Amy Ressler4e00f882022-02-24 18:03:41144* Memory corruption in the browser process, triggered by a browser shutdown that
145 is not reliably triggered and/or is difficult to trigger ([1230513](https://crbug.com/1230513)).
146* Memory corruption in the browser process, requiring a non-standard flag and
147 user interaction ([1255332](https://crbug.com/1255332)).
Varun Khanejadf1bc00e2017-08-10 05:22:40148* An HSTS bypass ([461481](https://crbug.com/461481)).
149* A bypass of the same origin policy for pages that meet several preconditions
150([419383](https://crbug.com/419383)).
151* A bug that allows web content to tamper with trusted browser UI
152([550047](https://crbug.com/550047)).
153* A bug that reduces the effectiveness of the sandbox
154([338538](https://crbug.com/338538)).
155* A bug that allows arbitrary pages to bypass security interstitials
156([540949](https://crbug.com/540949)).
157* A bug that allows an attacker to reliably read or infer browsing history
158([381808](https://crbug.com/381808)).
159* An address bar spoof where only certain URLs can be displayed, or with other
160mitigating factors ([265221](https://crbug.com/265221)).
161* Memory corruption in a renderer process that requires specific user
162interaction, such as dragging an object ([303772](https://crbug.com/303772)).
163
164
Amy Ressleraa1ed33b2024-02-02 17:51:36165## Low severity (S3) {#TOC-Low-severity}
Varun Khanejadf1bc00e2017-08-10 05:22:40166
Amy Ressleraa1ed33b2024-02-02 17:51:36167Low severity (S3) vulnerabilities are usually bugs that would normally be a
168higher severity, but which have extreme mitigating factors or highly limited
169scope.
Varun Khanejadf1bc00e2017-08-10 05:22:40170
Amy Ressleraa1ed33b2024-02-02 17:51:36171They are normally assigned Priority **P2**. Milestones can be assigned to low
Varun Khanejadf1bc00e2017-08-10 05:22:40172severity bugs on a case-by-case basis, but they are not normally merged to
173stable or beta branches.
174
175Example bugs:
176
177* Bypass requirement for a user gesture ([256057](https://crbug.com/256057)).
178* Partial CSP bypass ([534570](https://crbug.com/534570)).
179* A limited extension permission bypass ([169632](https://crbug.com/169632)).
180* An uncontrolled single-byte out-of-bounds read
181([128163](https://crbug.com/128163)).
182
Amy Ressler15e636812023-11-28 21:21:55183## Priority for in the wild vulnerabilities {#TOC-itw-pri}
184
185If there is evidence of a weaponized exploit or active exploitation in the wild,
Amy Ressleraa1ed33b2024-02-02 17:51:36186the vulnerability is considered a P0 priority - regardless of the severity
187rating -with a SLO of 7 days or faster. Our goal is to release a fix in a
188Stable channel update of Chrome as soon as possible.
Adrian Taylorb3f73122020-04-30 00:56:14189
Adrian Taylor364e9fd2020-11-04 22:41:11190## Can't impact Chrome users by default {#TOC-No-impact}
191
192If the bug can't impact Chrome users by default, this is denoted instead by
Amy Ressleraa1ed33b2024-02-02 17:51:36193the **Security-Impact_None** hotlist (hotlistID: 5433277). See
Adrian Taylor364e9fd2020-11-04 22:41:11194[the security labels document](security-labels.md#TOC-Security_Impact-None)
195for more information. The bug should still have a severity set according
196to these guidelines.
197
198
Adrian Taylorb3f73122020-04-30 00:56:14199## Not a security bug {#TOC-Not-a-security-bug}
200
Varun Khanejadf1bc00e2017-08-10 05:22:40201The [security FAQ](faq.md) covers many of the cases that we do not consider to
Adrian Taylorb3f73122020-04-30 00:56:14202be security bugs, such as [denial of service](faq.md#TOC-Are-denial-of-service-issues-considered-security-bugs-)
203and, in particular, null pointer dereferences with consistent fixed offsets.
Adrian Taylorb1691a82022-08-23 18:54:37204
205
Adrian Taylor850e6c02023-05-15 09:56:25206## "MiraclePtr" protection against use-after-free {#TOC-MiraclePtr}
Adrian Taylorb1691a82022-08-23 18:54:37207
208["MiraclePtr"](../../base/memory/raw_ptr.md) is a technology designed to
209deterministically prevent exploitation of use-after-free bugs. Address
210sanitizer is aware of MiraclePtr and will report on whether a given
211use-after-free bug is protected or not:
212
213```
214MiraclePtr Status: NOT PROTECTED
215No raw_ptr<T> access to this region was detected prior to the crash.
216```
217
218or
219
220```
221MiraclePtr Status: PROTECTED
222The crash occurred while a raw_ptr<T> object containing a dangling pointer was being dereferenced.
223MiraclePtr should make this crash non-exploitable in regular builds.
224```
225
Amy Ressler304b2dd32023-10-26 17:30:40226MiraclePtr is now active on all Chrome platforms in non-renderer processes as of 118.
227Severity assessments are made with consideration of all active release channels (Dev, Beta, Stable, and Extended Stable);
228BRP is now enabled in all active release channels.
Adrian Taylor850e6c02023-05-15 09:56:25229
Amy Ressler304b2dd32023-10-26 17:30:40230If a bug is marked `MiraclePtr Status:PROTECTED`, it should be downgraded by one severity level.
231(For example, a bug that would previously be High severity would now be only Medium severity).