René's URL Explorer Experiment


Title: Global Buffer Overflow Vulnerability · Issue #12 · CodeIntelligenceTesting/c-cpp-example · GitHub

Open Graph Title: Global Buffer Overflow Vulnerability · Issue #12 · CodeIntelligenceTesting/c-cpp-example

X Title: Global Buffer Overflow Vulnerability · Issue #12 · CodeIntelligenceTesting/c-cpp-example

Description: Detected Global Buffer Overflow Vulnerability in src/explore_me/explore_me.cpp:40:3 SEVERITY 9.0 DESCRIPTION A heap buffer overflow is a type of a memory corruption vulnerability that is widely used for different types of attacks. A succ...

Open Graph Description: Detected Global Buffer Overflow Vulnerability in src/explore_me/explore_me.cpp:40:3 SEVERITY 9.0 DESCRIPTION A heap buffer overflow is a type of a memory corruption vulnerability that is widely use...

X Description: Detected Global Buffer Overflow Vulnerability in src/explore_me/explore_me.cpp:40:3 SEVERITY 9.0 DESCRIPTION A heap buffer overflow is a type of a memory corruption vulnerability that is widely use...

Opengraph URL: https://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Global Buffer Overflow Vulnerability","articleBody":"Detected Global Buffer Overflow Vulnerability in [src/explore_me/explore_me.cpp:40:3](https://github.com/CodeIntelligenceTesting/c-cpp-example/blob/e59b268352d4cd4d517418c7ff036d8937503770/src/explore_me/explore_me.cpp#L40)\r\n\r\nSEVERITY\r\n9.0\r\n\r\nDESCRIPTION\r\nA heap buffer overflow is a type of a memory corruption vulnerability that is widely used for different types of attacks. A successful heap buffer overflow attack can be used to read sensitive data in memory, or write and execute code in it.\r\n\r\nCWE\r\n[Heap-based Buffer Overflow (#122)](https://cwe.mitre.org/data/definitions/122.html)\r\n\r\nSTACKTRACE\r\n\r\n==11==ERROR: AddressSanitizer: global-buffer-overflow on address 0x560d21c1bba5 at pc 0x560d20e5955a bp 0x7ffe16fe96c0 sp 0x7ffe16fe8e90\r\nWRITE of size 8 at 0x560d21c1bba5 thread T0\r\n    #0 0x560d20e59559 in __asan_memcpy (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0x13e559) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #1 0x560d20e994b7 in trigger_global_buffer_overflow(std::__cxx11::basic_string\u003cchar, std::char_traits\u003cchar\u003e, std::allocator\u003cchar\u003e\u003e const\u0026) /home/runner/work/c-cpp-example/c-cpp-example/checkout-dir/src/explore_me/explore_me.cpp:40:3\r\n    #2 0x560d20e97707 in LLVMFuzzerTestOneInputNoReturn(unsigned char const*, unsigned long) /home/runner/work/c-cpp-example/c-cpp-example/checkout-dir/src/explore_me/simple_checks_test.cpp:25:3\r\n    #3 0x560d20e97548 in LLVMFuzzerTestOneInput /home/runner/work/c-cpp-example/c-cpp-example/checkout-dir/src/explore_me/simple_checks_test.cpp:19:1\r\n    #4 0x560d20dbdb03 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0xa2b03) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #5 0x560d20dbd259 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool, bool*) (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0xa2259) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #6 0x560d20dbea49 in fuzzer::Fuzzer::MutateAndTestOne() (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0xa3a49) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #7 0x560d20dbf5c5 in fuzzer::Fuzzer::Loop(std::vector\u003cfuzzer::SizedFile, std::allocator\u003cfuzzer::SizedFile\u003e\u003e\u0026) (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0xa45c5) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #8 0x560d20dad702 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0x92702) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #9 0x560d20dd73f2 in main (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0xbc3f2) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n    #10 0x7f3855e2814f  (/lib/x86_64-linux-gnu/libc.so.6+0x2814f) (BuildId: 6a981b07a3731293c24c10a21397416d3c3d52ed)\r\n    #11 0x7f3855e28208 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x28208) (BuildId: 6a981b07a3731293c24c10a21397416d3c3d52ed)\r\n    #12 0x560d20da2144 in _start (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0x87144) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af)\r\n\r\n0x560d21c1bba5 is located 0 bytes to the right of global variable 'gBuffer' defined in '/home/runner/work/c-cpp-example/c-cpp-example/checkout-dir/src/explore_me/explore_me.cpp:37:6' (0x560d21c1bba0) of size 5\r\nSUMMARY: AddressSanitizer: global-buffer-overflow (/cifuzz/libfuzzer/address+undefined/simple_checks_fuzz_test/bin/src/explore_me/simple_checks_fuzz_test+0x13e559) (BuildId: ea922eefe4a4f20f33d93d3b043fed88f00889af) in __asan_memcpyShadow bytes around the buggy address:\r\n  0x0ac22437b720: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b730: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b740: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n=\u003e0x0ac22437b770: 00 f9 f9 f9[05]f9 f9 f9 00 00 00 00 00 00 00 00\r\n  0x0ac22437b780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b7a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b7b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\n  0x0ac22437b7c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\r\nShadow byte legend (one shadow byte represents 8 application bytes):\r\n  Addressable:           00\r\n  Partially addressable: 01 02 03 04 05 06 07 \r\n  Heap left redzone:       fa\r\n  Freed heap region:       fd\r\n  Stack left redzone:      f1\r\n  Stack mid redzone:       f2\r\n  Stack right redzone:     f3\r\n  Stack after return:      f5\r\n  Stack use after scope:   f8\r\n  Global redzone:          f9\r\n  Global init order:       f6\r\n  Poisoned by user:        f7\r\n  Container overflow:      fc\r\n  Array cookie:            ac\r\n  Intra object redzone:    bb\r\n  ASan internal:           fe\r\n  Left alloca redzone:     ca\r\n  Right alloca redzone:    cb\r\n==11==ABORTING\r\nMS: 1 CMP- DE: \"Attacker\"-; base unit: 5f0935f43e51f0c1a26d298c964eb0365b6f5390\r\n0x41,0x74,0x74,0x61,0x63,0x6b,0x65,0x72,0xff,0xff,0xf7,0xff,0xff,0xff,0xff,0xff,\r\nAttacker\\377\\377\\367\\377\\377\\377\\377\\377\r\nartifact_prefix='/tmp/libfuzzer-out-3182901598/'; Test unit written to /tmp/libfuzzer-out-3182901598/crash-d76ef491d7970a393dbafa6bfca19ec6872ff2f5\r\nBase64: QXR0YWNrZXL///f//////w==","author":{"url":"https://github.com/serj","@type":"Person","name":"serj"},"datePublished":"2024-03-26T12:02:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/12/c-cpp-example/issues/12"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9a7510fa-c17a-fec3-cfc1-09e0cfca4399
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id98C4:1D81B0:28C1302:3712AD3:696AE1B3
html-safe-nonce661c8f880d9370c1265d868de9fcd2d8b83fe5d70b7451f9c2153fb144ed2810
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEM0OjFEODFCMDoyOEMxMzAyOjM3MTJBRDM6Njk2QUUxQjMiLCJ2aXNpdG9yX2lkIjoiNTk0NTk2NDQwMDA3MjEyMjgwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac08f1581c9a62b77c4dbc333a9be31aa38f28f5ea986c31425f9039f1998697bd
hovercard-subject-tagissue:2208052051
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CodeIntelligenceTesting/c-cpp-example/12/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f9debf3efd55a132ef0aee4208aa07d42665e18aefcb4bac20a63cec6a799fa9/CodeIntelligenceTesting/c-cpp-example/issues/12
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f9debf3efd55a132ef0aee4208aa07d42665e18aefcb4bac20a63cec6a799fa9/CodeIntelligenceTesting/c-cpp-example/issues/12
og:image:altDetected Global Buffer Overflow Vulnerability in src/explore_me/explore_me.cpp:40:3 SEVERITY 9.0 DESCRIPTION A heap buffer overflow is a type of a memory corruption vulnerability that is widely use...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserj
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/CodeIntelligenceTesting/c-cpp-example git https://github.com/CodeIntelligenceTesting/c-cpp-example.git
octolytics-dimension-user_id64019151
octolytics-dimension-user_loginCodeIntelligenceTesting
octolytics-dimension-repository_id667750533
octolytics-dimension-repository_nwoCodeIntelligenceTesting/c-cpp-example
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id667750533
octolytics-dimension-repository_network_root_nwoCodeIntelligenceTesting/c-cpp-example
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3d84d50b3c75fa36755c3cf392edbc09e626f979
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodeIntelligenceTesting%2Fc-cpp-example%2Fissues%2F12
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodeIntelligenceTesting%2Fc-cpp-example%2Fissues%2F12
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=CodeIntelligenceTesting%2Fc-cpp-example
Reloadhttps://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
Reloadhttps://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
Reloadhttps://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
CodeIntelligenceTesting https://github.com/CodeIntelligenceTesting
c-cpp-examplehttps://github.com/CodeIntelligenceTesting/c-cpp-example
Notifications https://github.com/login?return_to=%2FCodeIntelligenceTesting%2Fc-cpp-example
Fork 4 https://github.com/login?return_to=%2FCodeIntelligenceTesting%2Fc-cpp-example
Star 8 https://github.com/login?return_to=%2FCodeIntelligenceTesting%2Fc-cpp-example
Code https://github.com/CodeIntelligenceTesting/c-cpp-example
Issues 2 https://github.com/CodeIntelligenceTesting/c-cpp-example/issues
Pull requests 0 https://github.com/CodeIntelligenceTesting/c-cpp-example/pulls
Actions https://github.com/CodeIntelligenceTesting/c-cpp-example/actions
Projects 0 https://github.com/CodeIntelligenceTesting/c-cpp-example/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/CodeIntelligenceTesting/c-cpp-example/security
Please reload this pagehttps://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
Insights https://github.com/CodeIntelligenceTesting/c-cpp-example/pulse
Code https://github.com/CodeIntelligenceTesting/c-cpp-example
Issues https://github.com/CodeIntelligenceTesting/c-cpp-example/issues
Pull requests https://github.com/CodeIntelligenceTesting/c-cpp-example/pulls
Actions https://github.com/CodeIntelligenceTesting/c-cpp-example/actions
Projects https://github.com/CodeIntelligenceTesting/c-cpp-example/projects
Security https://github.com/CodeIntelligenceTesting/c-cpp-example/security
Insights https://github.com/CodeIntelligenceTesting/c-cpp-example/pulse
New issuehttps://github.com/login?return_to=https://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
New issuehttps://github.com/login?return_to=https://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
Global Buffer Overflow Vulnerabilityhttps://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12#top
https://github.com/serj
https://github.com/serj
serjhttps://github.com/serj
on Mar 26, 2024https://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12#issue-2208052051
src/explore_me/explore_me.cpp:40:3https://github.com/CodeIntelligenceTesting/c-cpp-example/blob/e59b268352d4cd4d517418c7ff036d8937503770/src/explore_me/explore_me.cpp#L40
Heap-based Buffer Overflow (#122)https://cwe.mitre.org/data/definitions/122.html
#1https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/1
#2https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/2
#3https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/3
#4https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/4
#5https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/5
#6https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/6
#7https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/7
#8https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/8
#9https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/9
#10https://github.com/CodeIntelligenceTesting/c-cpp-example/pull/10
#11https://github.com/CodeIntelligenceTesting/c-cpp-example/issues/11
#12https://github.com/CodeIntelligenceTesting/c-cpp-example/issues/12
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.