Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9245629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:18:28+00:00 2026-06-18T09:18:28+00:00

Given the current Rails security alerts going around, I’m looking at securing applications for

  • 0

Given the current Rails security alerts going around, I’m looking at securing applications for a few apps. Most of them barely make use of the XML/JSON parsing and when they do it’s to integrate specific pages or hooks with a 3rd party service.

I’ve seen the ability to delete default parsers to turn the functionality off completely, but is there a way to enable it / whitelist it on specific routes that may be protected by http basic auth or some other means? That would at least require somebody attempting to exploit these types of vulnerabilities to know the specific locations where it’s enabled.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:18:29+00:00Added an answer on June 18, 2026 at 9:18 am

    The primary risk of the current XML/YAML parse vulnerability has to do with the callbacks that give you richer re-serialization for objects. So one possible way to do this is to just use the lower level APIs that give you parse trees for the XML/YAML, but don’t do any hydration beyond Ruby scalars (strings, numbers, hashes, etc). If that doesn’t work for you, using a parser like Yajl or, in many cases, just upgrading to the latest versions of the gems, is sufficient to allow parsing to remain on.

    Also, the primary risk of the parsing is in the parameter parsing, not response parsing. Response parsing (especially if you can trust the service, and communicate via a secure channel), is a much lower risk since you can control when and where it happens.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to get the current context given an entity I found this old
I am attempting to get the current weather given a zip code or a
So I have function that formats a date to coerce to given enum DateType{CURRENT,
I was given the task of doing a facelift to our current site. I
I have a function that get the current weeknumber from the given date e.g.
I have been given the following request. Please give 7% of the current contacts
What's the best possible way to find a given div.myClass element in the current
How can I print the next year if the current year is given in
How does a plugin add a page to the current WordPress theme a given
How can I get all sub-directories of a given directory without files, . (current

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.