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

Fix Denial of Service vulnerability #1004

Closed
wants to merge 2 commits into from
Closed

Fix Denial of Service vulnerability #1004

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 16, 2021

What's Changing and Why

Just fixing a vulnerability, no changes. Closes #1003.

What else might be affected

Nothing

Tasks

  • Add tests
  • Update Documentation
  • Update jimp.d.ts
  • Add SemVer Label

Copy link
Author

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for changing code style a bit.

@ghost
Copy link
Author

ghost commented May 14, 2021

@oliver-moran Sorry, had to bump this PR.

@hipstersmoothie
Copy link
Collaborator

Could you investigate why it's breaking for older node?

@ghost
Copy link
Author

ghost commented May 19, 2021

Could you investigate why it's breaking for older node?

I cannot right now, but can try later.

@ghost
Copy link
Author

ghost commented May 19, 2021

It fails even on original jimp. It's because of "spread" operator, which is not supported in Node.js 8. (I think so)

@hipstersmoothie
Copy link
Collaborator

closing in favor of #1136

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.

DoS attack vulnerability
1 participant