{"id":"CVE-2018-25060","aliases":["DEBIAN-CVE-2018-25060","EUVD-2022-7649","GHSA-hhxg-px5h-jc32","GO-2022-1213","UBUNTU-CVE-2018-25060"],"status":"published","title":"Macaron csrf csrf.go missing secure attribute","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","severity":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00564,"percentile":0.47125,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-311","CWE-614"],"published":"2022-12-30T11:47:29Z","modified":"2026-10-20T10:49:55Z","fixes":[{"ecosystem":"Go","package":"github.com/go-macaron/csrf","fixed_in":["0.0.0-20180426211050-dadd1711a617"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/go-macaron/csrf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20180426211050-dadd1711a617"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"golang-github-go-macaron-csrf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170207.0.428b7c6-5","0.0~git20170207.0.428b7c6-6"]},{"source":"osv","ecosystem":"Go","package":"github.com/go-macaron/csrf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180426211050-dadd1711a617"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/go-macaron/csrf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20180426211050-dadd1711a617"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"golang-github-go-macaron-csrf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170207.0.428b7c6-1","0.0~git20170207.0.428b7c6-2","0.0~git20170207.0.428b7c6-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-github-go-macaron-csrf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170207.0.428b7c6-4"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-github-go-macaron-csrf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.0~git20170207.0.428b7c6-5"]}],"products":[{"vendor":"go-macaron","product":"csrf"},{"vendor":"gorilla","product":"csrf"},{"vendor":"macaron","product":"csrf"}],"references":[{"url":"https://vuldb.com/?id.217058","tags":["vdb-entry","technical-description","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://vuldb.com/?ctiid.217058","tags":["signature","permissions-required","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/go-macaron/csrf/pull/7","tags":["issue-tracking","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c","tags":["patch","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25060","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1213","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hhxg-px5h-jc32"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-25060","tags":["advisory"]},{"url":"https://github.com/go-macaron/csrf","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-25060","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-25060","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-25060","title":"Macaron csrf csrf.go missing secure attribute","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T11:47:29.633Z","modified":"2024-08-05T12:26:39.633Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"},{"version":"3.0","score":3.7,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","assessor":"cna"}],"cwes":["CWE-614"],"updated_at":"2026-11-02T14:35:02.289647Z"}],"euvd":[{"id":"EUVD-2022-7649","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T11:47:29Z","modified":"2024-08-05T12:26:39Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T02:39:27.400094Z"}],"ghsa":[{"id":"GHSA-hhxg-px5h-jc32","title":"Macaron csrf missing encryption and has sensitive cookies in HTTP session without secure attribute","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file `csrf.go`. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The name of the patch is dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T12:30:25Z","modified":"2024-03-01T14:24:39Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-311","CWE-614"],"updated_at":"2026-11-02T14:37:38.935144Z"}],"nvd":[{"id":"CVE-2018-25060","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T12:15:09.103Z","modified":"2026-06-17T01:54:37.673Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:P/I:N/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-614","CWE-311"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"CVE-2018-25060","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T12:15:09.103Z","modified":"2026-10-20T10:49:55.078765286Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-25060","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T12:15:09.103Z","modified":"2026-08-04T06:04:36.930675846Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"GHSA-hhxg-px5h-jc32","title":"Macaron csrf missing encryption and has sensitive cookies in HTTP session without secure attribute","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file `csrf.go`. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The name of the patch is dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T12:30:25Z","modified":"2024-03-01T14:24:38Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-311","CWE-614"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"UBUNTU-CVE-2018-25060","description":"A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.","status":"published","published":"2022-12-30T12:15:00Z","modified":"2025-10-24T04:47:20Z","cvss":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"low"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"GO-2022-1213","title":"Insecure generation of cookies in github.com/go-macaron/csrf","description":"The Options.Secure value is ignored, and cookies created by Generate never have the secure attribute.","status":"published","published":"2023-01-03T23:05:24Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
