Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability due to cpy@8.1.2 #23

Closed
coeing opened this issue Sep 5, 2022 · 3 comments
Closed

Vulnerability due to cpy@8.1.2 #23

coeing opened this issue Sep 5, 2022 · 3 comments

Comments

@coeing
Copy link

coeing commented Sep 5, 2022

  High            glob-parent before 5.1.2 vulnerable to Regular Expression     
                  Denial of Service in enclosure regex                          

  Package         glob-parent                                                   

  Patched in      >=5.1.2                                                       

  Dependency of   @ngx-env/builder [dev]                                        

  Path            @ngx-env/builder > cpy > globby > fast-glob > glob-parent     

  More info       https://github.com/advisories/GHSA-ww39-953v-wcq6   

Should be easy fixed when updating to cpy@9 :)

@coeing
Copy link
Author

coeing commented Sep 5, 2022

Ah, just saw that there was already an issue #20 But as I see it, updating cpy should fix the vulnerability.

@EtienneFK
Copy link

Hello, i'm facing the same problem :

glob-parent  <5.1.2
Severity: high
glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6
No fix available
node_modules/cpy/node_modules/glob-parent
  fast-glob  <=2.2.7
  Depends on vulnerable versions of glob-parent
  node_modules/cpy/node_modules/fast-glob
    globby  8.0.0 - 9.2.0
    Depends on vulnerable versions of fast-glob
    node_modules/cpy/node_modules/globby
      cpy  7.0.0 - 8.1.2
      Depends on vulnerable versions of globby
      node_modules/cpy
        @ngx-env/builder  *
        Depends on vulnerable versions of cpy
        node_modules/@ngx-env/builder

5 high severity vulnerabilities

But even if I update cpy to version 9, I got the same message.

Am I missing something to solve this issue?

Thanks in advance.

@chihab
Copy link
Owner

chihab commented Jan 6, 2023

The package has been moved to devDependencies so it should not bother you anymore.

Closing the issue, let me know if you still encounter it.

@chihab chihab closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants