# CVE-2021-39947: In specific circumstances, trace file buffers in GitLab Runner versions up to 14.3.4, 14.4 to 14.4.2, and 14.5 to 14.5.2 would re-use the f…

- Severity: Medium 5.3 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Published: 2022-06-06T16:48:14.000Z
- Modified: 2026-06-17T04:04:28.750Z
- Assigned by: GitLab

## Description

In specific circumstances, trace file buffers in GitLab Runner versions up to 14.3.4, 14.4 to 14.4.2, and 14.5 to 14.5.2 would re-use the file descriptor 0 for multiple traces and mix the output of several jobs

(As written by CVE List.)

## Affected

- GitLab GitLab Runner: <14.3.4; >=14.4, <14.4.2; >=14.5, <14.5.2
- gitlab gitlab_runner: before 14.3.4; from 14.4.0 before 14.4.2; from 14.5.0 before 14.5.2

## Every score

- GitLab: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28732> (broken-link)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39947.json> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-39947](https://www.cve.org/CVERecord?id=CVE-2021-39947), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-39947](https://nvd.nist.gov/vuln/detail/CVE-2021-39947), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39947 · Whole record: https://cve.day/CVE-2021-39947.json · Rebuilt by cve.day 2026-11-25T22:58:07.588Z
