{"schemaVersion":3,"id":"CVE-2022-26779","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Apache CloudStack prior to 4.16.1.0 used insecure random number generation for project invitation tokens. If a project invite is created based only on an email address, a random token is generated. An attacker with knowledge of the project ID and the fact that the invite is sent, could generate time deterministic tokens and brute force attempt to use them prior to the legitimate receiver accepting the invite. This feature is not enabled by default, the attacker is required to know or guess the project ID for the invite in addition to the invitation token, and the attacker would need to be an existing authorized user of CloudStack.","dates":{"published":"2022-03-15T15:40:11.000Z","modified":"2024-08-03T05:11:45.092Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:N/AC:H/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0285,"percentile":0.86494,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.0285},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0285,"percentile":0.86494}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0285,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0285,"percentile":0.86494}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_JLLEITSCHUH_SECURITY-RESEARCH","name":"Security Research","source":"github","url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","description":"The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/338.html"}],"affected":[{"vendor":"apache software foundation","product":"apache cloudstack","name":"Apache CloudStack","label":"apache cloudstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Apache CloudStack, < 4.16.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Apache CloudStack, < 4.16.1","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_cloudstack"},{"vendor":"apache","product":"cloudstack","name":"cloudstack","label":"cloudstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.16.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.16.1.0","eol":null,"hubHref":"/vendor/apache/cloudstack"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread/dmm07b1cyosovqr12ddhkko501p11h2h","label":"lists.apache.org/thread/dmm07b1cyosovqr12ddhkko501p11h2h","hostname":"lists.apache.org","tags":["X Refsource MISC","Mailing List","Vendor Advisory"]},{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-vpcc-9rh2-8jfp","label":"github.com/JLLeitschuh/security-research/security/advisories/GHSA-vpcc-9rh2-8jfp","hostname":"github.com","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/03/15/1","label":"www.openwall.com/lists/oss-security/2022/03/15/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-03-15T15:40:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:11:45.092Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T00:52:37.450Z","stale":false,"partial":false}}