CVE-2020-13353 — gitaly
LOWCVE-2020-13353 is a low-severity (CVSS 3.2) CWE-613 vulnerability in gitaly. A fix is available for gitaly — see the affected versions and patch details below.
Gitaly Insufficient Session Expiration vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
gitaly💎gitaly💎gitalyReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.
Description
When importing repos via URL, one time use git credentials were persisted beyond the expected time window in Gitaly 1.79.0 or above. Affected versions are: >=1.79.0, <13.3.9,>=13.4, <13.4.5,>=13.5, <13.5.2.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | gitaly | ≥ 1.79.0&&< 13.3.9 | 13.3.9bundle update gitaly --conservative |
| 💎RubyGems | gitaly | ≥ 13.4&&< 13.4.5 | 13.4.5bundle update gitaly --conservative |
| 💎RubyGems | gitaly | ≥ 13.5&&< 13.5.2 | 13.5.2bundle update gitaly --conservative |
Affected Products
gitalygitlabDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for gitaly, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update gitaly to 13.3.9 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-13353 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2020-13353 in your dependencies?
Find it across RubyGems, including transitive dependencies.