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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade superagent to remove vulnerability #26

Merged
merged 1 commit into from
Jul 20, 2018

Conversation

gjvis
Copy link
Contributor

@gjvis gjvis commented Jul 18, 2018

Hi team Honeycomb 馃憢

We (Snyk) just started checking out Honeycomb, and noticed that the version of superagent used in this lib has a low-severity vulnerability.

This small PR updates superagent to a non-vulnerable version. From the superagent release notes it looks like biggest potential impact of jumping from 2.x to 3.x is the Node 4+ requirement. I couldn't tell from this repo whether that is going to be an issue for you, so figured I'd raise the PR in any case 馃槃

superagent <3.7.0 is vulnerable to a denial-of-service attack.

See https://snyk.io/vuln/npm:superagent:20170807 for details
@toshok
Copy link
Contributor

toshok commented Jul 18, 2018

awesome.

We've only ever built/tested on travis-ci with node 6 (and locally with higher versions), so I don't feel bad about dropping <4 at all.

That said, let me check :)

@toshok
Copy link
Contributor

toshok commented Jul 20, 2018

alas, we don't have that data. going to open a PR after landing this to start recording it (adding the node version to the user agent string), but I think "ask forgiveness" is appropriate here :)

@toshok toshok merged commit a63ecef into honeycombio:master Jul 20, 2018
@toshok
Copy link
Contributor

toshok commented Jul 20, 2018

馃帀

toshok added a commit to honeycombio/beeline-nodejs that referenced this pull request Jul 20, 2018
honeycombio/libhoney-js#26 bumped libhoney's superagent dep to fix a vulnerability. libhoney 1.1.2 was published containing this fix.

Let's bump our libhoney dep to get the fix here as well.
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

Successfully merging this pull request may close these issues.

None yet

2 participants