{"api_version":"1","generated_at":"2026-07-23T09:26:23+00:00","cve":"CVE-2012-2055","urls":{"html":"https://cve.report/CVE-2012-2055","api":"https://cve.report/api/cve/CVE-2012-2055.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2055","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2055"},"summary":{"title":"CVE-2012-2055","description":"GitHub Enterprise before 20120304 does not properly restrict the use of a hash to provide values for a model's attributes, which allows remote attackers to set the public_key[user_id] value via a modified URL for the public-key update form, related to a \"mass assignment\" vulnerability.","state":"PUBLISHED","assigner":"mitre","published_at":"2012-04-05 14:55:06","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-913","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation","name":"https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Public Key Security Vulnerability and Mitigation · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lwn.net/Articles/488702/","name":"http://lwn.net/Articles/488702/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"GitHub incidents spawns Rails security debate [LWN.net]","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://homakov.blogspot.com/2012/03/how-to.html","name":"http://homakov.blogspot.com/2012/03/how-to.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"],"title":"Egor Homakov: How-To","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74812","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74812","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2055","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2055","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"2055","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"github","cpe5":"github","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"enterprise","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:17:27.693Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://homakov.blogspot.com/2012/03/how-to.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://lwn.net/Articles/488702/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation"},{"name":"github-hash-security-bypass(74812)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74812"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-03-04T00:00:00.000Z","descriptions":[{"lang":"en","value":"GitHub Enterprise before 20120304 does not properly restrict the use of a hash to provide values for a model's attributes, which allows remote attackers to set the public_key[user_id] value via a modified URL for the public-key update form, related to a \"mass assignment\" vulnerability."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-12-19T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"http://homakov.blogspot.com/2012/03/how-to.html"},{"tags":["x_refsource_MISC"],"url":"http://lwn.net/Articles/488702/"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation"},{"name":"github-hash-security-bypass(74812)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74812"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-2055","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"GitHub Enterprise before 20120304 does not properly restrict the use of a hash to provide values for a model's attributes, which allows remote attackers to set the public_key[user_id] value via a modified URL for the public-key update form, related to a \"mass assignment\" vulnerability."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://homakov.blogspot.com/2012/03/how-to.html","refsource":"MISC","url":"http://homakov.blogspot.com/2012/03/how-to.html"},{"name":"http://lwn.net/Articles/488702/","refsource":"MISC","url":"http://lwn.net/Articles/488702/"},{"name":"https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation","refsource":"CONFIRM","url":"https://github.com/blog/1068-public-key-security-vulnerability-and-mitigation"},{"name":"github-hash-security-bypass(74812)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/74812"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2012-2055","datePublished":"2012-04-04T10:00:00.000Z","dateReserved":"2012-04-04T00:00:00.000Z","dateUpdated":"2024-08-06T19:17:27.693Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-04-05 14:55:06","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-913","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:*","versionEndExcluding":"20120304","matchCriteriaId":"C0048D8D-869E-4A8F-BB33-7E603967222D"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2055","Ordinal":"1","Title":"CVE-2012-2055","CVE":"CVE-2012-2055","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2055","Ordinal":"1","NoteData":"GitHub Enterprise before 20120304 does not properly restrict the use of a hash to provide values for a model's attributes, which allows remote attackers to set the public_key[user_id] value via a modified URL for the public-key update form, related to a \"mass assignment\" vulnerability.","Type":"Description","Title":"CVE-2012-2055"},{"CveYear":"2012","CveId":"2055","Ordinal":"2","NoteData":"2012-04-04","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"2055","Ordinal":"3","NoteData":"2017-12-19","Type":"Other","Title":"Modified"}]}}}