Github-API version 0.10.1 represents a notable update from the older 0.7.0, offering developers a refined and more robust interface for interacting with the GitHub API. Both versions serve as higher-level wrappers simplifying complex API calls. However, the dependency management sees a shift. The newer version specifies btoa with ^1.1.2 and underscore with ~1.6.0, providing finer control and compatibility, enhancing stability. The older version used wildcard dependencies, which can lead to unpredictable behaviours. Version 0.10.1 also refines the development dependencies, introducing JSHint (^2.5.8) for code quality and Tape (^3.0.3) for unit testing, signalling a stronger emphasis on code quality and reliability compared to the Mocha and Chai testing suite in the older version.
Furthermore, the repository URL in version 0.10.1 points to "git://github.com/michael/github.git", whereas the older release points to "git://github.com/darvin/github.git", indicating a potential change of ownership or a move within the open-source community. The later version includes a releaseDate in ISO format, offering insights into the recency. For developers, version 0.10.1 provides a better structured and maintained library.
All the vulnerabilities related to the version 0.10.1 of the package
Arbitrary Code Execution in underscore
The 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.
xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection
This affects the package xmlhttprequest before 1.7.0; all versions of package xmlhttprequest-ssl. Provided requests are sent synchronously (async=False
on xhr.open
), malicious user input flowing into xhr.send
could result in arbitrary code being injected and run.