nerdexam
Microsoft

GH-500 · Question #113

You are a maintainer of a repository and Dependabot notifies you of a vulnerability. Where could the vulnerability have been disclosed? Each answer presents part of the solution. (Choose two.)

The correct answer is C. in security advisories reported on GitHub D. in manifest and lock files. Dependabot detects vulnerabilities by combining two pieces of information. First, it checks security advisories reported on GitHub (C) - GitHub maintains the GitHub Advisory Database, which catalogs known vulnerabilities in open-source packages. Second, Dependabot scans your…

Configure and use Dependabot and Dependency Review

Question

You are a maintainer of a repository and Dependabot notifies you of a vulnerability. Where could the vulnerability have been disclosed? Each answer presents part of the solution. (Choose two.)

Options

  • Ain the National Vulnerability Database
  • Bin the dependency graph
  • Cin security advisories reported on GitHub
  • Din manifest and lock files

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    88% (15)

Explanation

Dependabot detects vulnerabilities by combining two pieces of information. First, it checks security advisories reported on GitHub (C) - GitHub maintains the GitHub Advisory Database, which catalogs known vulnerabilities in open-source packages. Second, Dependabot scans your repository's manifest and lock files (D), such as package.json, package-lock.json, Gemfile.lock, etc., to identify which vulnerable versions of dependencies your project actually uses. The vulnerability is disclosed in the advisory (C), and the affected dependency is discovered via the manifest/lock files (D). Option A (NVD) is a source GitHub ingests into its own advisory database but is not directly where Dependabot reports the disclosure to you. Option B (dependency graph) is a visualization tool, not a disclosure source.

Topics

#Dependabot#Vulnerability disclosure#Security Advisories#Manifest files

Community Discussion

No community discussion yet for this question.

Full GH-500 Practice