You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/vulnerability-management-and-coordinated-disclosure.md
+24-14Lines changed: 24 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,23 +32,33 @@ When security issues affecting OpenRemote software are confirmed, a security adv
32
32
33
33
Security advisories are reviewed and approved internally before publication and are archived for reference.
34
34
35
-
People can submit potential vulnerabilities at [Security Advisories](https://github.com/openremote/openremote/security/advisories).
36
-
Submitted advisories are reviewed by the quality officer or its backups in a timely manner.
35
+
People can submit potential vulnerabilities at [Security Advisories](https://github.com/openremote/openremote/security/advisories).
36
+
Submitted advisories are reviewed by the quality officer or its backups in a timely manner.
37
37
They decide to accept or reject them. If accepted, a CVE is requested from GitHub.
38
38
39
-
Once accepted, a fix can be developed in a private fork, created from the advisory page.
39
+
An advisory covers a single vulnerability. A report describing several independently fixable vulnerabilities is split into one advisory per vulnerability, each with its own CVE. Separate reports of the same vulnerability are merged into one, and everyone who found it is credited. Reporters are told the outcome either way. This follows CVE CNA rules [4.1 vulnerability determination](https://www.cve.org/ResourcesSupport/AllResources/CNARules#section_4-1_Vulnerability_Determination) and [4.2 CVE ID assignment](https://www.cve.org/ResourcesSupport/AllResources/CNARules#section_4-2_CVE_ID_Assignment), which GitHub applies when issuing a CVE.
40
+
41
+
Severity is scored with CVSS. A score supplied in a report is re-evaluated by the team, and the vector is recorded alongside it so the score can be rechecked.
42
+
43
+
### Developing the fix
44
+
45
+
Once accepted, a fix can be developed in a private fork, created from the advisory page.
40
46
This is a private repository with limited access and limited functionality. It does not support LFS and does not run any CI/CD actions.
41
47
42
-
As it does not support LFS, when cloning, use `GIT_LFS_SKIP_SMUDGE=1 git clone https://…` to avoid any problem.
43
-
If you’re using git worktree, working with a private fork requires you to use a separate remote, this can become quite confusing; working on a fork in a completely separate clone is often easier and less error-prone.
44
-
Although work on the fork can still be performed in a branch, it does not bring much value.
45
-
Once a PR is created, it will not appear in the normal PR list, it must be accessed via the advisory page.
46
-
Similarly, it must be merged from the advisory page and by a person from the “Product Owners” group.
48
+
As it does not support LFS, when cloning, use `GIT_LFS_SKIP_SMUDGE=1 git clone https://…` to avoid any problem.
49
+
If you’re using git worktree, working with a private fork requires you to use a separate remote, this can become quite confusing; working on a fork in a completely separate clone is often easier and less error-prone.
50
+
Although work on the fork can still be performed in a branch, it does not bring much value.
51
+
Once a PR is created, it will not appear in the normal PR list, it must be accessed via the advisory page.
52
+
Similarly, it must be merged from the advisory page and by a person from the “openremote/security-managers” team.
53
+
54
+
Because the fork runs no CI, the pipeline checks have to pass locally before the fix is proposed for merge.
55
+
56
+
### Merging
57
+
58
+
Branch protection does not need to be touched for this merge. GitHub does not run status checks on pull requests in a temporary private fork, and does not enforce the protection rules set on the branch being merged into.
59
+
60
+
### Publishing
47
61
48
-
For the merge feature to become available, those persons must be able to bypass the branch policies.
49
-
This means that “Product Owners” have been added as able to bypass any defined rulesets (as of this writing, there’s only one, “Copilot review for default branch”).
50
-
In addition, for the merge to succeed, the check that a valid CI/CD has run must be bypassed.
51
-
This is done by temporarily unchecking the "Do not allow bypassing the above settings" option in the branch protection rules configuration.
52
-
Don’t forget to re-enable it once the merge has been done.
62
+
An advisory whose fix is planned is published once a release containing that fix is publicly available.
53
63
54
-
Once a release including the fix has been made publicly available, publish the advisory.
64
+
A confirmed vulnerability that will not be fixed is still published. Having no fix planned is not a reason to withhold the advisory: publish it stating that no fix is planned, and document the mitigations available to users.
0 commit comments