Title: Vulnerability in underscore dependency · Issue #294 · NativeScript/nativescript-dev-appium · GitHub
Open Graph Title: Vulnerability in underscore dependency · Issue #294 · NativeScript/nativescript-dev-appium
X Title: Vulnerability in underscore dependency · Issue #294 · NativeScript/nativescript-dev-appium
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project: CLI: 7.2.0 Cross-platform modules: 7.3.0 Android ...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project: CLI: 7.2....
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project: CLI: 7.2....
Opengraph URL: https://github.com/NativeScript/nativescript-dev-appium/issues/294
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vulnerability in underscore dependency","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project:\r\n - CLI: 7.2.0\r\n - Cross-platform modules: 7.3.0\r\n - Android Runtime: 7.0.1\r\n - iOS Runtime: 7.2.0\r\n - Plugin(s): 6.1.3\r\n\r\n**Describe the bug**\r\nThe GitHub Dependabot reports that the \"underscore\" depenency of \"nativescript-dev-appium\" has a vulnerability:\r\nThe package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Execution via the template function, particularly when a variable property is passed as an argument as it is not sanitized.\r\nMore info at:\r\nhttps://github.com/advisories/GHSA-cf4h-3jhx-xvhq\r\n\r\n**To Reproduce**\r\nAdd nativescript-dev-appium to a NativeScript project.\r\nLook in package-lock to see dependency chain:\r\n\"nativescript-dev-appium\" version 6.1.3 uses\r\n\"frame-comparer\": \"^2.0.1\" which uses\r\n\"blink-diff\": \"^1.0.13\" which uses\r\n\"pngjs-image\": \"~0.11.5\" which uses\r\n\"underscore\": \"1.7.0\"\r\n\r\n**Expected behavior**\r\nDependency chain using \"underscore\" version 1.12.1 or newer (as per the github advisory link above).\r\n\r\n**Sample project**\r\n\r\n\r\n**Additional context**\r\n\r\n","author":{"url":"https://github.com/matt-cooper","@type":"Person","name":"matt-cooper"},"datePublished":"2021-05-10T15:35:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/294/nativescript-dev-appium/issues/294"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d5c485a6-e7ae-07a9-d35f-fcb3d703d7a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECF2:35E861:2A0484:3859DA:6A5B2029 |
| html-safe-nonce | 7e6032c88795a204d94e4a5d70f7b191340ebb500d74dea715883a79a4fcf062 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0YyOjM1RTg2MToyQTA0ODQ6Mzg1OURBOjZBNUIyMDI5IiwidmlzaXRvcl9pZCI6IjQ5MDIyMDk3ODQzNDU0Njg5NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a7420053bdb5c5cd69d215bb7c2ce4f4abd1e246fdfd7072dade4304264fa41 |
| hovercard-subject-tag | issue:884487804 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-dev-appium/294/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30299a936ea66a7b8d2096e25f6c2ba88a320d8fac155e92a91be70495c2c3e7/NativeScript/nativescript-dev-appium/issues/294 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30299a936ea66a7b8d2096e25f6c2ba88a320d8fac155e92a91be70495c2c3e7/NativeScript/nativescript-dev-appium/issues/294 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project: CLI: 7.2.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | matt-cooper |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-dev-appium git https://github.com/NativeScript/nativescript-dev-appium.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 58553304 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-dev-appium |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 58553304 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-dev-appium |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width