Skip to content

chore: upgrade less which fixes a severity vulnerability #4411

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

Closed
wants to merge 2 commits into from

Conversation

BANG88
Copy link

@BANG88 BANG88 commented Jul 10, 2018

Upgrade less to the latest version due to npm found a severity vulnerability

➜  gitea git:(master) npm audit

                       === npm audit security report ===

# Run  npm update stringstream --depth 3  to resolve 1 vulnerability
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Out-of-bounds Read                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ stringstream                                                 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ less [dev]                                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ less > request > stringstream                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/664                       │
└───────────────┴──────────────────────────────────────────────────────────────┘


found 1 moderate severity vulnerability in 85 scanned packages
  run `npm audit fix` to fix 1 of them.

@techknowlogick
Copy link
Member

techknowlogick commented Jul 10, 2018

CI fail: Please run make generate-stylesheets and commit the result

@bkcsoft bkcsoft added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 10, 2018
@codecov-io
Copy link

Codecov Report

Merging #4411 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4411   +/-   ##
=======================================
  Coverage   20.06%   20.06%           
=======================================
  Files         153      153           
  Lines       30769    30769           
=======================================
  Hits         6174     6174           
  Misses      23652    23652           
  Partials      943      943

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e445cc...8d3cea8. Read the comment docs.

@lafriks lafriks added the topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile label Jul 10, 2018
@bkcsoft bkcsoft added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 10, 2018
@techknowlogick
Copy link
Member

This looks like it only goes to less v3.5.3, but latest version of less is v3.6.0. There is a newer PR that goes to that version #4415
If you go to latest version of less I'll close that other PR.

@BANG88
Copy link
Author

BANG88 commented Jul 11, 2018

The latest version published 11 hours ago. If you want the latest version you can merge #4415 and ignore this one. :)

@lafriks
Copy link
Member

lafriks commented Jul 11, 2018

Closing in favor of latest version

@lafriks lafriks closed this Jul 11, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 1 This PR needs approval from one additional maintainer to be merged. topic/build PR changes how Gitea is built, i.e. regarding Docker or the Makefile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants