CVE-2021-3374: Rstudio Shiny Server - Local File Inclusion
- Cve: CVE-2021-3374
- Name: Rstudio Shiny Server - Local File Inclusion
- Description: Directory traversal in RStudio Shiny Server before 1.5.16 allows attackers to read the application source code, involving an encoded slash.
- Impact: Attackers can access source code or local files, leading to information disclosure and potential further exploitation.
- Remediation: Update to version 1.5.16 or later.
- Vulnerability type: file_inclusion
- Vulnerability impact: information_disclosure, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.12448
- Epss percentile: 0.96314
- Assignee: [email protected]
- Published at: 2021-04-02T19:15:21Z
- Age in days: 2062
- Modified at: 2026-06-17T04:04:59Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3374
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-3374 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3374.yaml |
Hackerone
- Reports: 5
- Rank: 2666
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/colemanjp/shinyserver-directory-traversal-source-code-leak | nvd | 2021-04-02 |
References
| Url | Source | Tags |
|---|---|---|
| https://blog.rstudio.com/2021/01/13/shiny-server-1-5-16-update/ | nvd | Vendor Advisory |
| https://github.com/colemanjp/shinyserver-directory-traversal-source-code-leak | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3374.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rstudio:shiny_server | < 1.5.16 | no | nvd | /v1/products/rstudio/shiny_server |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-04-02
- Remote: yes
- Hackerone reports: 5
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, initial access since, exposed hosts