René's URL Explorer Experiment


Title: Protect `readLine()` against DoS by pixeebot[bot] · Pull Request #9 · virangdoshi/java-sec-code · GitHub

Open Graph Title: Protect `readLine()` against DoS by pixeebot[bot] · Pull Request #9 · virangdoshi/java-sec-code

X Title: Protect `readLine()` against DoS by pixeebot[bot] · Pull Request #9 · virangdoshi/java-sec-code

Description: Java web common vulnerabilities and security code which is base on springboot and spring security - Protect `readLine()` against DoS by pixeebot[bot] · Pull Request #9 · virangdoshi/java-sec-code

Open Graph Description: This change hardens all BufferedReader#readLine() operations against memory exhaustion. There is no way to call readLine() safely since it is, by its nature, a read that must be terminated by the s...

X Description: This change hardens all BufferedReader#readLine() operations against memory exhaustion. There is no way to call readLine() safely since it is, by its nature, a read that must be terminated by the s...

Opengraph URL: https://github.com/virangdoshi/java-sec-code/pull/9

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6aec7341-f1fb-433a-2512-068b3a11e97f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA372:2D0EDC:9F09C2:E7148C:6A549F1B
html-safe-nonce2970d5295ec5ca8b0eac3aac5617662c932afdcbe8c85b9e50371ea91498b87d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzcyOjJEMEVEQzo5RjA5QzI6RTcxNDhDOjZBNTQ5RjFCIiwidmlzaXRvcl9pZCI6IjY2NzIzMzc2MzE0ODgyODY0OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace01531eebcba80b1411993b2689f43e9e88b15f6c6916f247195ac6425fadcfb
hovercard-subject-tagpull_request:2722918383
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/virangdoshi/java-sec-code/9/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eaef6a51264eb2c95e8c557df2f1eb1451dfc4f315a8f14029118a31819c2581/virangdoshi/java-sec-code/pull/9
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eaef6a51264eb2c95e8c557df2f1eb1451dfc4f315a8f14029118a31819c2581/virangdoshi/java-sec-code/pull/9
og:image:altThis change hardens all BufferedReader#readLine() operations against memory exhaustion. There is no way to call readLine() safely since it is, by its nature, a read that must be terminated by the s...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepixeebot[bot]
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/virangdoshi/java-sec-code git https://github.com/virangdoshi/java-sec-code.git
octolytics-dimension-user_id14085020
octolytics-dimension-user_loginvirangdoshi
octolytics-dimension-repository_id958112841
octolytics-dimension-repository_nwovirangdoshi/java-sec-code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id115394871
octolytics-dimension-repository_parent_nwoJoyChou93/java-sec-code
octolytics-dimension-repository_network_root_id115394871
octolytics-dimension-repository_network_root_nwoJoyChou93/java-sec-code
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
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/virangdoshi/java-sec-code/pull/9#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvirangdoshi%2Fjava-sec-code%2Fpull%2F9
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fvirangdoshi%2Fjava-sec-code%2Fpull%2F9
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=virangdoshi%2Fjava-sec-code
Reloadhttps://github.com/virangdoshi/java-sec-code/pull/9
Reloadhttps://github.com/virangdoshi/java-sec-code/pull/9
Reloadhttps://github.com/virangdoshi/java-sec-code/pull/9
virangdoshi https://github.com/virangdoshi
java-sec-codehttps://github.com/virangdoshi/java-sec-code
JoyChou93/java-sec-codehttps://github.com/JoyChou93/java-sec-code
Notifications https://github.com/login?return_to=%2Fvirangdoshi%2Fjava-sec-code
Fork 0 https://github.com/login?return_to=%2Fvirangdoshi%2Fjava-sec-code
Star 0 https://github.com/login?return_to=%2Fvirangdoshi%2Fjava-sec-code
Code https://github.com/virangdoshi/java-sec-code
Pull requests 1 https://github.com/virangdoshi/java-sec-code/pulls
Actions https://github.com/virangdoshi/java-sec-code/actions
Projects https://github.com/virangdoshi/java-sec-code/projects
Security and quality 0 https://github.com/virangdoshi/java-sec-code/security
Insights https://github.com/virangdoshi/java-sec-code/pulse
Code https://github.com/virangdoshi/java-sec-code
Pull requests https://github.com/virangdoshi/java-sec-code/pulls
Actions https://github.com/virangdoshi/java-sec-code/actions
Projects https://github.com/virangdoshi/java-sec-code/projects
Security and quality https://github.com/virangdoshi/java-sec-code/security
Insights https://github.com/virangdoshi/java-sec-code/pulse
pixeebot[bot]https://github.com/pixeebot[bot]
masterhttps://github.com/virangdoshi/java-sec-code/tree/master
pixeebot/drip-2025-08-06-pixee-java/limit-readlinehttps://github.com/virangdoshi/java-sec-code/tree/pixeebot/drip-2025-08-06-pixee-java/limit-readline
Conversationhttps://github.com/virangdoshi/java-sec-code/pull/9
Commits1 (1)https://github.com/virangdoshi/java-sec-code/pull/9/commits
Checkshttps://github.com/virangdoshi/java-sec-code/pull/9/checks
Files changedhttps://github.com/virangdoshi/java-sec-code/pull/9/files
Protect readLine() against DoShttps://github.com/virangdoshi/java-sec-code/pull/9#top
pixeebot[bot]https://github.com/pixeebot[bot]
masterhttps://github.com/virangdoshi/java-sec-code/tree/master
pixeebot/drip-2025-08-06-pixee-java/limit-readlinehttps://github.com/virangdoshi/java-sec-code/tree/pixeebot/drip-2025-08-06-pixee-java/limit-readline
https://github.com/apps/pixeebot
pixeebothttps://github.com/apps/pixeebot
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issue-3295032573
BufferedReader#readLine()https://docs.oracle.com/javase/8/docs/api/java/io/BufferedReader.html#readLine--
https://vulncat.fortify.com/en/detail?id=desc.dataflow.abap.denial_of_servicehttps://vulncat.fortify.com/en/detail?id=desc.dataflow.abap.denial_of_service
https://cwe.mitre.org/data/definitions/400.htmlhttps://cwe.mitre.org/data/definitions/400.html
Feedbackhttps://ask.pixee.ai/feedback
Communityhttps://pixee-community.slack.com/signup#/domain-signup
Docshttps://docs.pixee.ai/
https://camo.githubusercontent.com/bbfcb584cb921c3e365301ba207a41fb4f25d68550301bf16c8995e6c849cbae/68747470733a2f2f64317a6165737361326870736d6a2e636c6f756466726f6e742e6e65742f706978656c2f76312f747261636b3f77726974654b65793d32504934336a4e6d376174597641754b37724a557a334b63643641266576656e743d445249505f5052253743766972616e67646f7368692532466a6176612d7365632d636f646525374365633036396565306263323530336363643633643534356665306237386365623761323839343264
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/pixeebot
Protect readLine() against DoShttps://github.com/virangdoshi/java-sec-code/pull/9/commits/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d
ec069eehttps://github.com/virangdoshi/java-sec-code/pull/9/commits/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d
https://github.com/apps/pixeebot
pixeebothttps://github.com/apps/pixeebot
Aug 6, 2025 https://github.com/virangdoshi/java-sec-code/pull/9#pullrequestreview-3090289350
View reviewed changes https://github.com/virangdoshi/java-sec-code/pull/9/files/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d
pom.xmlhttps://github.com/virangdoshi/java-sec-code/pull/9/files/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
pixeebothttps://github.com/apps/pixeebot
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#discussion_r2255760145
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Open sourcehttps://github.com/pixee/java-security-toolkit
More factshttps://mvnrepository.com/artifact/io.github.pixee/java-security-toolkit/1.2.1
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/secure-code-warrior-for-github
secure-code-warrior-for-githubhttps://github.com/apps/secure-code-warrior-for-github
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issuecomment-3157263348
https://www.owasp.org/index.php/Denial_of_Servicehttps://www.owasp.org/index.php/Denial_of_Service
Try a challenge in Secure Code Warriorhttps://portal.securecodewarrior.com/?utm_source=partner-integration:github-integration:virangdoshi&integration_id=github-integration&tenant_id=5fefb6a9b2ca703303a7a9738638ecd48753ea7194339d9f159bfbc51e6fb970&partner_id=github-integration:virangdoshi#/contextual-microlearning/web/dos
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/guardrails
guardrailshttps://github.com/apps/guardrails
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issuecomment-3157263585
pkg:maven/net.minidev/json-smart@2.2.1https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.bouncycastle/bcprov-jdk15on@1.55https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/ch.qos.logback/logback-classic@1.1.9https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/com.google.protobuf/protobuf-java@2.6.0https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.codehaus.groovy/groovy@2.4.7https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.springframework/spring-web@4.3.6.RELEASEhttps://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.apache.tomcat.embed/tomcat-embed-core@8.5.11https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.apache.xmlbeans/xmlbeans@2.3.0https://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.springframework/spring-context@4.3.6.RELEASEhttps://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.springframework/spring-core@4.3.6.RELEASEhttps://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.springframework/spring-webmvc@4.3.6.RELEASEhttps://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
pkg:maven/org.springframework/spring-beans@4.3.6.RELEASEhttps://github.com/virangdoshi/java-sec-code/blob/ec069ee0bc2503ccd63d545fe0b78ceb7a28942d/pom.xml
Javahttps://docs.guardrails.io/docs/en/vulnerabilities/java/using_vulnerable_libraries.html?utm_source=ghpr
dashboardhttps://dashboard.guardrails.io/gh/virangdoshi/repos/388389/scans?sha=ec069ee0bc2503ccd63d545fe0b78ceb7a28942d
feedbackhttps://guardrails.typeform.com/to/BCgBkB
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/secure-code-warrior-for-github
secure-code-warrior-for-githubhttps://github.com/apps/secure-code-warrior-for-github
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issuecomment-3157263671
What is this? (2min video)https://media.securecodewarrior.com/v2/module_14_using_known_vulnerable_components.mp4?utm_source=github-integration%3avirangdoshi
Try a challenge in Secure Code Warriorhttps://portal.securecodewarrior.com/?utm_source=partner-integration:github-integration:virangdoshi&integration_id=github-integration&tenant_id=5fefb6a9b2ca703303a7a9738638ecd48753ea7194339d9f159bfbc51e6fb970&partner_id=github-integration:virangdoshi#/contextual-microlearning/web/vulncomponents/known
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/socket-security
socket-securityhttps://github.com/apps/socket-security
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issuecomment-3157264299
Socket for GitHubhttps://socket.dev?utm_medium=gh
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
io.github.pixee/​java-security-toolkit@​1.2.1https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies&dependency_item_key=15924856345
View full reporthttps://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=dependencies
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/socket-security
socket-securityhttps://github.com/apps/socket-security
Aug 6, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issuecomment-3157264335
Socket for GitHubhttps://socket.dev?utm_medium=gh
https://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=alerts&alert_item_key=QVJlnUzrOSDEzeYilx-oTX8nYsg54_ZXSU9f_irgaVoM
GHSA-mw3r-pfmg-xp92 Improper Restriction of Recursive Entity References in Apache XMLBeans (CRITICAL)https://github.com/advisories/GHSA-mw3r-pfmg-xp92
pom.xmlhttps://github.com/virangdoshi/java-sec-code/pull/9/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
This packagehttps://socket.dev/maven/package/org.apache.xmlbeans:xmlbeans/overview/2.3.0
This alerthttps://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=alerts&alert_item_key=QVJlnUzrOSDEzeYilx-oTX8nYsg54_ZXSU9f_irgaVoM
What is a critical CVE?https://socket.dev/alerts/criticalCVE
triage state of this alerthttps://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=alerts&alert_item_key=QVJlnUzrOSDEzeYilx-oTX8nYsg54_ZXSU9f_irgaVoM
View full reporthttps://socket.dev/dashboard/org/virangdoshi/diff-scan/ba33d5c7-51ea-467a-ae1d-9b507a1a09dc?tab=alerts&action=error%2Cwarn
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.com/apps/pixeebot
pixeebothttps://github.com/apps/pixeebot
Aug 14, 2025https://github.com/virangdoshi/java-sec-code/pull/9#issuecomment-3186592821
let me knowhttps://ask.pixee.ai/feedback
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
https://github.co/hiddenchars
https://github.com/virangdoshi/java-sec-code/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fvirangdoshi%2Fjava-sec-code%2Fpull%2F9
Please reload this pagehttps://github.com/virangdoshi/java-sec-code/pull/9
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.