The Security Issue: The gopkg.in/ini.v1 package imports goconvey, an old testing library that imports MomentJS 2.11.2. This library contains a vulnerability as outlined below by an X-Ray Scan:
The duration function in the moment package before 2.11.2 for node.js allows remote attackers to cause a denial of service (cpu consumption) via a long string, aka a "regular expression denial of service (redos).
This causes anyone using the alibaba-cloud-sdk-go api in Go to receive high level security vulnerability warnings.
The Fix: This vulnerability can be avoided by updating that gopkg dependency to the latest version, which will cause it to use testify, rather than goconvey for its testing.
The Security Issue: The gopkg.in/ini.v1 package imports goconvey, an old testing library that imports MomentJS 2.11.2. This library contains a vulnerability as outlined below by an X-Ray Scan:
The duration function in the moment package before 2.11.2 for node.js allows remote attackers to cause a denial of service (cpu consumption) via a long string, aka a "regular expression denial of service (redos).
This causes anyone using the alibaba-cloud-sdk-go api in Go to receive high level security vulnerability warnings.The Fix: This vulnerability can be avoided by updating that gopkg dependency to the latest version, which will cause it to use testify, rather than goconvey for its testing.