-
Notifications
You must be signed in to change notification settings - Fork 0
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
npm audit - Critical Package Issue #25
Comments
cartoThe carto project is archived, we'll need something to replace it to resolve these 3 high severity issues. current: 1.2.0 Causes:
canvas
Made the upgrade:
No breaking code changes according to the docs: https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md
|
After upgrading canvas:
Here's those same issues organized: Caused by Carto:
Caused by dev package coveralls:
|
So I think we have two paths ahead.
Either way, given the abandoned status of nodetiles-core and it's dependency "carto", we'll want to move away from nodetiles-core for security purposes at some point, but I figured it might be a good time to discuss if we want to spending some constrained time attempting that now. I see that nodetiles-core is only used these three functions on the tileserver:
Looks like we use it for generating pngs and json for parcels, and for generating png, json, debug, and geojson for blexts. Not sure if something like this could be a replacement: Or can we use Mapnik to do this? Not having done this type of tileserver work before, I'm not sure how much of lift this could be, but wanted to check in at this point to see what ya'll think. Thanks! |
Related issue: https://github.com/loveland/tiles/issues/662 |
Thanks for digging in @SethArchambault! I'm pretty hesitant to dive into replacing the carto module at this point in time, although it'd be good to get a task into the backlog to specifically dive into carto / nodetiles-core. I believe this package (carto) is responsible for parsing the raster style definitions sent as part of tile requests and converting them to the right format for the server rendering. |
Summing up offline convo with Bates: Option 2 isn't a viable short term option because we don't know that there is a replacement for nodetiles-core that allows the functionality we need (map styles in the CartoCSS language, + more). TileserverGL doesn't support live db connections, just mbtiles and pmtimes. Mapnik is already in our project, but doesn't support the CartoCSS language without carto also. Option 1 is okay, but it's also creating a fork for a dependency of something we've already forked. (@quidquid: thoughts on forking?) Not sure the threat rises to the level of necessity for short-term action. Would prefer to figure out #2, but there are other roadmap items that will take priority in the immediate future, so we can backlog that. |
On the tile server, we're getting a critical package issue, that comes from:
nodetiles-core -> canvas -> minimist.
Upgrading canvas here should fix the issue.
More details on the issues with minimist:
GHSA-xvch-5gv4-984h
The text was updated successfully, but these errors were encountered: