-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quota enforcement violates User Story 515 scenario 5 #787
Comments
only allow updating rejected ids to be reserved or published if there is id quota available |
discuss appropriate fix with AWG |
I agree with the fix here. Unless the quota is checked prior to the reserved or published transition, a CNA can reject a bunch of ids and use this as "extra quota", circumventing the quota concept. |
I don't think there should be a quota check before any transition to the PUBLISHED state. Denying a CNA's ability to publish a CVE Record hurts consumers, and doesn't effectively disincentivize bad behavior. The behavior we're trying to discourage is a CNA taking an inordinately long time to publish CVE Records (which is how they exceeded their intended quota of RESERVED CVE IDs) and also proceeding to use a Scenario 5 scheme to associate some more vulnerabilities with RESERVED CVE IDs, even though we have no confidence that CVE Records for those vulnerabilities will be submitted promptly. By contrast, whenever a CNA is attempting to move something to the PUBLISHED state, they are generally heading in the right direction in terms of compliance with CVE Program policies, and they are not exacerbating a timeliness problem. Similarly, the Secretariat once developed a "one for one" policy in which a penalized CNA would be given one new RESERVED CVE ID whenever they published the CVE Record for one RBP CVE ID (bottom of the https://cve.mitre.org/cve/cna/CVE_Program_RBP_Policy_v1-2.pdf document). This is, in effect, very similar to a policy in which we allow this type of REJECTED CVE ID (belonging to an over-quota CNA) to be transitioned, as long as that transition immediately publishes a CVE Record. A CNA could, of course, use this type of REJECTED CVE ID to publish a CVE Record about a fake vulnerability, but that doesn't help them to subvert the quota system, and is an entirely separate abuse of the CVE Program that would have its own consequences. In summary, I believe that User Story 515 scenario 5 was correct as originally written. "Transition to published" is not a gap that the author of scenario 5 failed to consider. |
For |
…to RESERVED when owning org has no remaining quota
Resolves #787 Prevents updating CVE-ID states to RESERVED if owning Org has no remaining quota
If an organization has an ID quota of zero and has one rejected CVE ID (with no associated CVE Record), then a user in that organization can change the CVE ID to RESERVED. Once this is done, the GET /org/{shortname}/id_quota endpoint returns
Example:
The above "HTTP/1.1 200 OK" is not allowed by User Story 515 scenario 5. The status must be 403, not 200.
The text was updated successfully, but these errors were encountered: