For maintainers
Responsibility
See OEP-60 Open Source Security Working Group — Open edX Proposals 1.0 documentation.
You are responsible for resolving security vulnerabilities in the repos you maintain.
Have questions or need help? Email security@openedx.org.
We’ll nudge you in proportion to the severity of the vulnerability using the scoring system below.
Tell us if you want to classify it differently. You have the final say on this.
Please keep security vulnerabilities private until a fix is released.
Scoring
Severity | Score | Reminder frequency |
---|---|---|
Low | ≥0.1 | Twice a year |
Medium | ≥4.0 | Once a quarter |
High | ≥7.0 | Once a month |
Critical | ≥9.0 | Once a week |
From CVSS v3.1 Specification Document.
Process
After getting a “New security vulnerability” email from security@openedx.org
Fix the vulnerability in a temporary private fork. Do not merge yet. [GitHub docs]
Post a release time in Security Announcements.
Don’t post until you test your fix.
Note: topics in Security Announcements are moderated. They may take a little time to appear publicly.
Make the release time on a weekday at least 48 hours after your post.
Template:
Title:
Security: Upcoming Security Release for {{repository_name}} on {{YYYY-MM-DD}}
Body:
**openedx/{{repository_name}}** version **{{version_number}}** will be released on [date={{YYYY-MM-DD}} time={{HH:MM:SS}} timezone="America/New_York"]. It will fix one security defect with a "{{severity}}" [CVSS 3.1 severity rating](https://nvd.nist.gov/vuln-metrics/cvss). Details will be published here after release: [GitHub security advisory]({{github_security_advisory_url}}).
Example:
Title:
Security: Upcoming Security Release for xblock-drag-and-drop-v2 on {{2023-01-24}}
Body:
Around release time, within a 2 hours window:
Merge temporary private fork. [GitHub docs]
PR and merge the fix to the active release branches:
open-release/<current-release-name>.master
open-release/<next-release-name>.master
, if it already existsFind
release-name
s in Support WindowsTODO: include instructions for how to merge fix to release branch
Link the PR(s) for the active release branches in #wg-build-test-release
This way, BTR can take any actions needed to include your PR in releases.
Publish security advisory. [GitHub docs]
If this is a library, publish the new version to PyPI or NPM
Reply to your Security Announcements post with the PR URLs:
Template:
Body:
Example:
Body: