microsoft/MSRC-Microsoft-Security-Updates-API

Need to fix the URL created

codeably opened this issue · 2 comments

Hello! Tried checking if this issue has been reported as I just tried today

PS X:\Bin> Get-MsrcSecurityUpdate -Cvrf 2021-Apr

ID : 2021-Apr
Alias : 2021-Apr
DocumentTitle : April 2021 Security Updates
Severity :
InitialReleaseDate : 13-04-2021 07:00:00
CurrentReleaseDate : 22-04-2021 20:16:16
CvrfUrl : https://api.msrc.microsoft.com/cvrf/v2.0/document/2021-Apr

PS X:\Bin> Import-module MsrcSecurityUpdates
PS X:\Bin> $monthOfInterest = '2021-Apr'
PS X:\Bin> Get-MsrcCvrfDocument -ID $monthOfInterest -Verbose | Get-MsrcSecurityBulletinHtml -Verbose | Out-File CvrfApril2021.html
VERBOSE: Calling https://api.msrc.microsoft.com/cvrf/v2.0/cvrf/2021-Apr?api-version=2016-08-01
VERBOSE: GET https://api.msrc.microsoft.com/cvrf/v2.0/cvrf/2021-Apr?api-version=2016-08-01 with 0-byte payload
VERBOSE: received -byte response of content type application/json
VERBOSE: Content encoding: utf-8

When I click the link (let's say this part)

CVE-2021-27067
MITRE
NVD

The one from NVD works - https://nvd.nist.gov/vuln/detail/CVE-2021-27067

But not the one for MITRE: (e.g. https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27067) I needed to remove the www so it should be https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27067

Might be a minor error though. And it could be something on the MITRE sight's redirection perhaps?

Thank you.

Hi,
Thanks for reporting this issue.
The MITRE links were indeed not working.

This have been solved with pull request #101. Closing this issue.