CWE
22
Advisory Published
Updated

CVE-2023-3385: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

First published: Tue Aug 01 2023(Updated: )

An issue has been discovered in GitLab affecting all versions starting from 8.10 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. Under specific circumstances, a user importing a project 'from export' could access and read unrelated files via uploading a specially crafted file. This was due to a bug in `tar`, fixed in [`tar-1.35`](https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html).

Credit: cve@gitlab.com cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab GitLab>=8.10<16.0.8
GitLab GitLab>=8.10<16.0.8
GitLab GitLab>=16.1<16.1.3
GitLab GitLab>=16.1<16.1.3
GitLab GitLab>=16.2<16.2.2
GitLab GitLab>=16.2<16.2.2

Remedy

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-3385?

    CVE-2023-3385 is an issue discovered in GitLab affecting certain versions that allows a user to access and read unrelated files.

  • Which versions of GitLab are affected by CVE-2023-3385?

    All versions starting from 8.10 before 16.0.8, all versions starting from 16.1 before 16.1.3, and all versions starting from 16.2 before 16.2.2 of GitLab are affected by CVE-2023-3385.

  • What is the severity of CVE-2023-3385?

    CVE-2023-3385 has a severity rating of 6.5, which is considered medium.

  • How can I fix CVE-2023-3385?

    To fix CVE-2023-3385, you should update GitLab to version 16.2.2 or later, version 16.1.3 or later, or version 16.0.8 or later, depending on the specific version you are using.

  • Where can I find more information about CVE-2023-3385?

    You can find more information about CVE-2023-3385 on the GitLab official website and the HackerOne report linked in the references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203