Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1986

Validity checks missing for readFields and Thrift deserialization

    XMLWordPrintableJSON

Details

    Description

      Classes in o.a.a.core.data (and potentially elsewhere) that support construction from a Thrift object and/or population from a DataInput (via a readFields() method) often lack data validity checks that the classes' constructors enforce. The missing checks make it possible for an attacker to create invalid objects by manipulating the bytes being read. The situation is analogous to the need to check objects deserialized from their Java serialized form within the readObject() method.

      Attachments

        1. examined-classes.txt
          0.8 kB
          Bill Havanki
        2. ACCUMULO-1986.patch
          14 kB
          Bill Havanki

        Issue Links

          Activity

            People

              bhavanki Bill Havanki
              bhavanki Bill Havanki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: